com.caucho.quercus.env
Class ServerArrayValue

java.lang.Object
  extended by com.caucho.quercus.env.Value
      extended by com.caucho.quercus.env.ArrayValue
          extended by com.caucho.quercus.env.ArrayValueImpl
              extended by com.caucho.quercus.env.ServerArrayValue
All Implemented Interfaces:
java.io.Serializable

public class ServerArrayValue
extends ArrayValueImpl

Represents the server

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.caucho.quercus.env.ArrayValue
ArrayValue.AbstractGet, ArrayValue.Entry, ArrayValue.EntryIterator, ArrayValue.EntrySet, ArrayValue.GetKey, ArrayValue.GetValue, ArrayValue.KeyComparator, ArrayValue.KeyIterator, ArrayValue.KeySet, ArrayValue.ValueCollection, ArrayValue.ValueComparator, ArrayValue.ValueIterator
 
Field Summary
 
Fields inherited from class com.caucho.quercus.env.ArrayValue
ARRAY, GET_KEY, GET_VALUE
 
Fields inherited from class com.caucho.quercus.env.Value
L, NULL_ARGS, NULL_VALUE_ARRAY, SCALAR_V
 
Constructor Summary
ServerArrayValue(Env env)
           
 
Method Summary
 ArrayValue append(Value key, Value value)
          Adds a new value.
 Value copy()
          Copy for assignment.
 Value copySaveFunArg()
          Copy for saving a function arguments.
 java.util.Set<java.util.Map.Entry<Value,Value>> entrySet()
          Returns an iterator of the entries.
 Value get(Value key)
          Gets a new value.
 Value getArg(Value key, boolean isTop)
          Gets a new value.
 Var getVar(Value key)
          Returns the array ref.
 boolean isset(Value key)
          Returns true if the value is isset().
protected  void printRImpl(Env env, WriteStream out, int depth, java.util.IdentityHashMap<Value,java.lang.String> valueSet)
           
 void put(java.lang.String key, java.lang.String value)
          Convenience for lib.
 Value put(Value value)
          Adds a new value.
 java.lang.Object toObject()
          Converts to an object.
 void varDumpImpl(Env env, WriteStream out, int depth, java.util.IdentityHashMap<Value,java.lang.String> valueSet)
           
 
Methods inherited from class com.caucho.quercus.env.ArrayValueImpl
clear, contains, containsKey, containsStrict, copy, copyFrom, copyReturn, copyTree, createTailKey, generate, getArray, getDirty, getEntries, getHashMask, getHead, getKeys, getNextAvailableIndex, getObject, getRaw, getRef, getSize, getTail, getType, getValues, isArray, pop, putVar, remove, shuffle, size, slice, splice, toBoolean, toLocalRef, toLocalValue, toRefValue, toString, unshift
 
Methods inherited from class com.caucho.quercus.env.ArrayValue
add, append, callCallback, callCallback, callCallback, cmp, current, each, end, eq, eql, geq, getBaseIterator, getCount, getCountRecursive, getCurrent, getIterator, getKeyArray, getKeyIterator, getValueArray, getValueIterator, getValueType, gt, hasCurrent, isCallable, isEmpty, jsonEncode, key, keyExists, keyReset, keySet, keysToArray, leq, lt, next, prev, print, printREntry, put, put, put, put, put, put, put, put, put, put, put, putAll, reset, serialize, setCurrent, sort, toArray, toArray, toArrayValue, toAutoArray, toBinaryValueMarshalCost, toCallable, toCharMarshalCost, toDouble, toEntryArray, toJavaCollection, toJavaList, toJavaMap, toJavaObject, toKey, toLong, toObject, toString, toStringMarshalCost, toStringValueMarshalCost, toUnicodeValueMarshalCost, values, valuesToArray, valuesToArray, varDumpEntry, varExport
 
Methods inherited from class com.caucho.quercus.env.Value
abs, add, addOne, appendTo, appendTo, appendTo, appendTo, bitAnd, bitOr, bitXor, call, call, call, call, call, call, call, callCopy, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callRef, callRef, callRef, callRef, callRef, callRef, callRef, charValueAt, checkPrivate, checkProtected, clone, copy, copyArrayItem, copyStringBuilder, div, div, eqValue, findFunction, getArray, getCallableName, getCalledClass, getClassName, getField, getFieldArg, getFieldArgRef, getFieldArray, getFieldObject, getFieldVar, getHashCode, getIterator, getObject, getQuercusClass, getResourceType, getThisField, getThisFieldArg, getThisFieldArgRef, getThisFieldArray, getThisFieldObject, getThisFieldVar, hashCode, increment, initField, isA, isA, isBinary, isBoolean, isDefault, isDouble, isDoubleConvertible, isFieldInit, isLong, isLongConvertible, isNull, isNumberConvertible, isNumeric, isObject, isResource, isset, issetField, issetThisField, isString, isUnicode, isVar, length, lshift, mod, mul, mul, neg, nextIndex, pos, postdecr, postincr, postincr, predecr, preincr, preincr, print, printDepth, printJavaChar, printJavaString, printR, put, putField, putField, putField, putObject, putThisField, putThisField, rshift, serialize, set, setCharValueAt, setFieldInit, setJavaObject, sub_rev, sub, sub, subOne, toArgRef, toAutoObject, toBigDecimal, toBigInteger, toBinaryValue, toBinaryValue, toBinaryValue, toBooleanMarshalCost, toByteArrayMarshalCost, toByteMarshalCost, toChar, toCharArrayMarshalCost, toDebugString, toDoubleMarshalCost, toDoubleValue, toException, toFloatMarshalCost, toInputStream, toInt, toIntegerMarshalCost, toInternString, toJavaBoolean, toJavaByte, toJavaCalendar, toJavaCharacter, toJavaDate, toJavaDouble, toJavaFloat, toJavaInteger, toJavaLong, toJavaObject, toJavaObjectMarshalCost, toJavaObjectNotNull, toJavaShort, toJavaString, toJavaURL, toLocalThis, toLocalValueReadOnly, toLocalVar, toLocalVarDeclAsRef, toLongMarshalCost, toLongValue, toRef, toShortMarshalCost, toStringBuilder, toStringBuilder, toStringBuilder, toStringBuilder, toStringValue, toStringValue, toUnicode, toUnicodeValue, toUnicodeValue, toValue, toVar, unsetArray, unsetField, unsetThisArray, unsetThisField, varDump
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerArrayValue

public ServerArrayValue(Env env)
Method Detail

toObject

public java.lang.Object toObject()
Converts to an object.

Overrides:
toObject in class ArrayValueImpl

append

public ArrayValue append(Value key,
                         Value value)
Adds a new value.

Overrides:
append in class ArrayValueImpl

put

public Value put(Value value)
Adds a new value.

Overrides:
put in class ArrayValueImpl

get

public Value get(Value key)
Gets a new value.

Overrides:
get in class ArrayValueImpl

getArg

public Value getArg(Value key,
                    boolean isTop)
Gets a new value.

Overrides:
getArg in class ArrayValueImpl

getVar

public Var getVar(Value key)
Returns the array ref.

Overrides:
getVar in class ArrayValueImpl

copy

public Value copy()
Copy for assignment.

Overrides:
copy in class ArrayValueImpl

copySaveFunArg

public Value copySaveFunArg()
Copy for saving a function arguments.

Overrides:
copySaveFunArg in class ArrayValueImpl

entrySet

public java.util.Set<java.util.Map.Entry<Value,Value>> entrySet()
Returns an iterator of the entries.

Overrides:
entrySet in class ArrayValue

put

public void put(java.lang.String key,
                java.lang.String value)
Convenience for lib.

Overrides:
put in class ArrayValue

isset

public boolean isset(Value key)
Returns true if the value is isset().

Overrides:
isset in class ArrayValue

varDumpImpl

public void varDumpImpl(Env env,
                        WriteStream out,
                        int depth,
                        java.util.IdentityHashMap<Value,java.lang.String> valueSet)
                 throws java.io.IOException
Overrides:
varDumpImpl in class ArrayValue
Throws:
java.io.IOException

printRImpl

protected void printRImpl(Env env,
                          WriteStream out,
                          int depth,
                          java.util.IdentityHashMap<Value,java.lang.String> valueSet)
                   throws java.io.IOException
Overrides:
printRImpl in class ArrayValue
Throws:
java.io.IOException