net.liftweb.util.AnyVar

class AnyVar

abstract class AnyVar[T, MyType <: AnyVar[T, MyType]](dflt : => T)

 extends AnyVarTrait[T, MyType]




Companion: AnyVar

Source: AnyVar.scala(71)

Direct Known Subclasses

NonCleanAnyVar,

 Constructors

def this(dflt : => T)

 Fields

__nameSalt.. protected def __nameSalt String AnyVarTrait
calcDefaultValue.. protected def calcDefaultValue T
get.. def get
Shadow of the 'is' method
T AnyVarTrait
is.. def is
The current value of the variable
T AnyVarTrait
name.. protected lazy val name String AnyVarTrait
set_?.. def set_?
Has this Var been set or accessed and had its default value calculated
Boolean AnyVarTrait
settingDefault_?.. protected def settingDefault_? Boolean AnyVarTrait

 Methods

!=.. final def !=(arg0 : Object) Boolean AnyRef
!=.. final def !=(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Object) Boolean AnyRef
apply.. def apply(what : T)
Set the session variable [details]
param
what - -- the value to set the session variable to
T AnyVarTrait
asInstanceOf.. final def asInstanceOf[T0] T0 Any
clearFunc.. protected abstract def clearFunc(name : String) Unit AnyVarTrait
clone.. protected def clone Object AnyRef
doSync.. abstract def doSync[F](f : => F)
Different Vars require different mechanisms for synchronization [details]
This method implements the Var specific synchronization mechanism
F AnyVarTrait
doWith.. def doWith[F](newVal : T)(f : => F)
Change the value of the Var for the lifespan of the function
F AnyVarTrait
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. def equals(arg0 : Any) Boolean AnyRef
finalize.. protected def finalize Unit AnyRef
findFunc.. protected abstract def findFunc(name : String) Box[T] AnyVarTrait
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
onShutdown.. protected def onShutdown(session : CleanUpParam) Unit AnyVarTrait
registerCleanupFunc.. protected abstract def registerCleanupFunc(in : (CleanUpParam) => Unit) Unit AnyVarTrait
registerGlobalCleanupFunc.. protected final def registerGlobalCleanupFunc(in : (CleanUpParam) => Unit) Unit AnyVarTrait
remove.. def remove Unit AnyVarTrait
set.. def set(what : T)
Shadow of the apply method
T AnyVarTrait
setFunc.. protected abstract def setFunc(name : String, value : T) Unit AnyVarTrait
setIsUnset.. def setIsUnset(value : => T)
Set the Var if it has not been calculated
T AnyVarTrait
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
testWasSet.. protected abstract def testWasSet(name : String)
A non-side-effecting test if the value was initialized
Boolean AnyVarTrait
toString.. override def toString String AnyVarTrait
update.. def update(f : (T) => T)
Applies the given function to the contents of this variable and sets the variable to the resulting value [details]
param
f - -- the function to apply and set the result from.
T AnyVarTrait
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
wait.. final def wait(arg0 : Long) Unit AnyRef
wait.. final def wait Unit AnyRef
wasInitialized.. protected abstract def wasInitialized(name : String) Boolean AnyVarTrait
Copyright (c) 2006-2011 WorldWide Conferencing, LLC. All Rights Reserved.