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
_current, 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
 Value copy()
          Copy for assignment.
 java.util.Set<java.util.Map.Entry<Value,Value>> entrySet()
          Returns an iterator of the entries.
 Value get(Value key)
          Gets a new value.
 Var getRef(Value key)
          Returns the array ref.
 void print(Env env)
          Prints the value.
 void put(java.lang.String key, java.lang.String value)
          Convenience for lib.
 Value put(Value value)
          Adds a new value.
 Value put(Value key, Value value)
          Adds a new value.
 java.lang.Object toObject()
          Converts to an object.
 
Methods inherited from class com.caucho.quercus.env.ArrayValueImpl
clear, containsKey, copy, copyReturn, copyTree, createTailKey, getArg, getArray, getDirty, getHead, getObject, getRaw, getSize, getTail, getType, isArray, isset, pop, putRef, remove, shuffle, size, splice, toArgValue, toBoolean, toRefValue, toString, unshift
 
Methods inherited from class com.caucho.quercus.env.ArrayValue
add, append, append, cmp, contains, containsStrict, current, each, end, eq, eql, geq, getCount, getCountRecursive, getIterator, getKeyArray, getKeyIterator, getValueArray, getValueIterator, getValueType, gt, hasCurrent, isEmpty, key, keyReset, keySet, leq, lt, next, prev, printREntry, printRImpl, put, put, put, put, put, put, put, put, put, putAll, reset, serialize, sort, toArray, toArray, toArrayValue, toEntryArray, toJavaCollection, toJavaList, toJavaMap, toJavaObject, toObject, toString, values, valuesToArray, valuesToArray, varDumpEntry, varDumpImpl, varExport
 
Methods inherited from class com.caucho.quercus.env.Value
add, appendTo, appendTo, appendTo, appendTo, bitAnd, bitOr, bitXor, callClassMethod, callMethod, callMethod, 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, callMethodRef, callMethodRef, charValueAt, checkPrivate, checkProtected, clone, copy, copyArrayItem, div, div, eqValue, findFunction, generate, getArray, getClassName, getField, getFieldArg, getFieldArgRef, getFieldArray, getFieldObject, getFieldRef, getObject, getResourceType, getThisField, getThisFieldArg, getThisFieldArgRef, getThisFieldArray, getThisFieldObject, getThisFieldRef, isA, isBinary, isBoolean, isDefault, isDoubleConvertible, isLongConvertible, isNull, isNumberConvertible, isNumeric, isObject, isResource, isset, issetField, issetThisField, isString, isUnicode, length, lshift, mod, mul, mul, neg, nextIndex, pos, postincr, preincr, print, printDepth, printJavaString, printR, putArray, putField, putField, putObject, putThisField, rshift, serialize, set, setCharValueAt, sub_rev, sub, sub, toArgValueReadOnly, toAutoArray, toAutoObject, toBigDecimal, toBigInteger, toBinaryValue, toBinaryValue, toChar, toDebugString, toDouble, toDoubleValue, toException, toInputStream, toInt, toInternString, toJavaBoolean, toJavaByte, toJavaCalendar, toJavaCharacter, toJavaDate, toJavaDouble, toJavaFloat, toJavaInteger, toJavaLong, toJavaObject, toJavaObjectNotNull, toJavaShort, toJavaString, toJavaURL, toKey, toLong, toLongValue, toRef, toRefVar, toStringBuilder, toStringBuilder, toStringValue, toUnicodeValue, toUnicodeValue, toValue, toVar, unsetField, unsetThisField, varDump
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, 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

put

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

Overrides:
put 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

getRef

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

Overrides:
getRef in class ArrayValueImpl

copy

public Value copy()
Copy for assignment.

Overrides:
copy 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

print

public void print(Env env)
Prints the value.

Overrides:
print in class ArrayValue
Parameters:
env -