net.liftweb.util.FatLazy

class FatLazy

class FatLazy[T](f : => T)

 extends ScalaObject


A class that does lazy evaluation
param
f - -- a function that evaluates to the default value of the instance


Companion: FatLazy

Source: FatLazy.scala(39)

 Constructors

def this(f : => T)

 Fields

calculated_?.. def calculated_?
Determine whether the value of this FatLazy has been determined
Boolean
defined_?.. def defined_?
Test whether the value of this class has been set or initialized from the default
Boolean
get.. def get
Get the value of the instance [details]
If it's not yet been set, call f to calculate it
return
- the value of the instance
T

 Methods

!=.. final def !=(arg0 : Any) Boolean Any
!=.. final def !=(arg0 : Object) Boolean AnyRef
==.. final def ==(arg0 : Object) Boolean AnyRef
==.. final def ==(arg0 : Any) Boolean Any
asInstanceOf.. final def asInstanceOf[T0] T0 Any
clone.. protected def clone Object AnyRef
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. def equals(arg0 : Any) Boolean AnyRef
finalize.. protected def finalize Unit AnyRef
getClass.. final def getClass Class[Any] AnyRef
hashCode.. def hashCode Int AnyRef
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
ne.. final def ne(arg0 : Object) Boolean AnyRef
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
reset.. def reset
Reset the value of this FatLazy to the default (which will be lazily determined on retrieval [details]
)
Unit
set.. def set(v : T)
Set the instance to a new value and return that value [details]
param
v - - the new value of the instance
return
- v
T
setFrom.. def setFrom(other : FatLazy[T])
Copy the value of the specified FatLazy into this FatLazy
Unit
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
toString.. def toString String AnyRef
update.. def update(v : T)
and the lazy() = foo style of assignment
Unit
wait.. final def wait(arg0 : Long) Unit AnyRef
wait.. final def wait Unit AnyRef
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.