com.caucho.quercus.env
Class ArrayValueComponent

java.lang.Object
  extended by com.caucho.quercus.env.ArrayValueComponent

public class ArrayValueComponent
extends java.lang.Object

Represents a compileable piece of an array.


Field Summary
protected  Value[] _keys
           
protected  Value[] _values
           
static int MAX_DYNAMIC_SIZE
           
static int MAX_SIZE
           
 
Constructor Summary
ArrayValueComponent()
           
ArrayValueComponent(Value[] keys, Value[] values)
           
 
Method Summary
 void addTo(ArrayValue array)
           
static ArrayValueComponent[] create(ArrayValue array)
           
static void generate(java.io.PrintWriter out, ArrayValue array)
           
 Value[] getKeys()
           
 Value[] getValues()
           
 void init()
           
 void init(Env env)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_SIZE

public static final int MAX_SIZE
See Also:
Constant Field Values

MAX_DYNAMIC_SIZE

public static final int MAX_DYNAMIC_SIZE
See Also:
Constant Field Values

_keys

protected Value[] _keys

_values

protected Value[] _values
Constructor Detail

ArrayValueComponent

public ArrayValueComponent()

ArrayValueComponent

public ArrayValueComponent(Value[] keys,
                           Value[] values)
Method Detail

create

public static ArrayValueComponent[] create(ArrayValue array)

generate

public static void generate(java.io.PrintWriter out,
                            ArrayValue array)
                     throws java.io.IOException
Throws:
java.io.IOException

init

public void init()

init

public void init(Env env)

addTo

public final void addTo(ArrayValue array)

getKeys

public Value[] getKeys()

getValues

public Value[] getValues()