com.caucho.quercus.env
Class LazySaveEnvVar

java.lang.Object
  extended by com.caucho.quercus.env.EnvVar
      extended by com.caucho.quercus.env.LazySaveEnvVar

public class LazySaveEnvVar
extends EnvVar

Encapsulates an environment entry for a variable. The EnvVar is a container for Vars.


Constructor Summary
LazySaveEnvVar(int id, Value value)
           
 
Method Summary
 Value get()
          Returns the current value.
 Var getVar()
          Returns the current Var.
 Value set(Value value)
          Sets the current value.
 Var setVar(Var var)
          Sets the var.
 
Methods inherited from class com.caucho.quercus.env.EnvVar
setRef
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LazySaveEnvVar

public LazySaveEnvVar(int id,
                      Value value)
Method Detail

get

public Value get()
Returns the current value.

Specified by:
get in class EnvVar

set

public Value set(Value value)
Sets the current value.

Specified by:
set in class EnvVar

getVar

public Var getVar()
Returns the current Var.

Specified by:
getVar in class EnvVar

setVar

public Var setVar(Var var)
Sets the var.

Specified by:
setVar in class EnvVar