com.caucho.quercus.env
Class JavaMapValue

java.lang.Object
  extended by com.caucho.quercus.env.Value
      extended by com.caucho.quercus.env.ObjectValue
          extended by com.caucho.quercus.env.JavaValue
              extended by com.caucho.quercus.env.JavaMapValue
All Implemented Interfaces:
java.io.Serializable

public class JavaMapValue
extends JavaValue

Represents a Quercus java value.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.caucho.quercus.env.JavaValue
_env
 
Fields inherited from class com.caucho.quercus.env.ObjectValue
_className, _incompleteObjectName, _quercusClass
 
Fields inherited from class com.caucho.quercus.env.Value
L, NULL_ARGS, NULL_VALUE_ARRAY, SCALAR_V
 
Constructor Summary
JavaMapValue(Env env, java.util.Map map, JavaClassDef def)
           
 
Method Summary
 Value get(Value name)
          Returns the array value with the given key.
 Value put(Value index, Value value)
          Sets the array value with the given key.
 
Methods inherited from class com.caucho.quercus.env.JavaValue
callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, cmpObject, entrySet, getClassName, getField, getJavaClassDef, getType, isObject, isResource, jsonEncode, printRImpl, putField, serialize, toDouble, toDouble, toInputStream, toJavaMap, toJavaObject, toJavaObject, toJavaObjectNotNull, toKey, toLong, toString, toString, varDumpImpl
 
Methods inherited from class com.caucho.quercus.env.ObjectValue
append, call, eq, getCount, getIncompleteObjectName, getIterator, getKeyIterator, getName, getParentClassName, getQuercusClass, getValueIterator, initField, initObject, isA, isCallable, isIncompleteObject, isset, put, putField, putField, putField, putField, putField, putField, remove, setIncompleteObjectName, setQuercusClass, toAutoArray, toBoolean, varDumpObject
 
Methods inherited from class com.caucho.quercus.env.Value
abs, add, add, addOne, appendTo, appendTo, appendTo, appendTo, bitAnd, bitOr, bitXor, call, call, call, call, call, call, callCopy, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callRef, callRef, callRef, callRef, callRef, callRef, callRef, charValueAt, checkPrivate, checkProtected, clone, cmp, containsKey, copy, copy, copy, copyArrayItem, copyReturn, copySaveFunArg, copyStringBuilder, copyTree, current, div, div, end, eql, eqValue, findFunction, generate, geq, getArg, getArray, getArray, getBaseIterator, getCallableName, getCalledClass, getCountRecursive, getDirty, getFieldArg, getFieldArgRef, getFieldArray, getFieldObject, getFieldVar, getHashCode, getKeyArray, getObject, getObject, getRef, getResourceType, getSize, getThisField, getThisFieldArg, getThisFieldArgRef, getThisFieldArray, getThisFieldObject, getThisFieldVar, getValueArray, getValueType, getVar, gt, hasCurrent, hashCode, increment, isA, isArray, isBinary, isBoolean, isDefault, isDouble, isDoubleConvertible, isEmpty, isFieldInit, isLong, isLongConvertible, isNull, isNumberConvertible, isNumeric, isset, issetField, issetThisField, isString, isUnicode, isVar, key, keyExists, length, leq, lshift, lt, mod, mul, mul, neg, next, nextIndex, pop, pos, postdecr, postincr, postincr, predecr, preincr, preincr, prev, print, print, printDepth, printJavaChar, printJavaString, printR, put, putField, putObject, putThisField, putThisField, putVar, reset, rshift, serialize, set, setCharValueAt, setFieldInit, setJavaObject, shuffle, sub_rev, sub, sub, subOne, toArgRef, toArray, toArrayValue, toAutoObject, toBigDecimal, toBigInteger, toBinaryValue, toBinaryValue, toBinaryValue, toBinaryValueMarshalCost, toBooleanMarshalCost, toByteArrayMarshalCost, toByteMarshalCost, toCallable, toChar, toCharArrayMarshalCost, toCharMarshalCost, toDebugString, toDoubleMarshalCost, toDoubleValue, toException, toFloatMarshalCost, toInt, toIntegerMarshalCost, toInternString, toJavaBoolean, toJavaByte, toJavaCalendar, toJavaCharacter, toJavaCollection, toJavaDate, toJavaDouble, toJavaFloat, toJavaInteger, toJavaList, toJavaLong, toJavaObjectMarshalCost, toJavaShort, toJavaString, toJavaURL, toLocalRef, toLocalThis, toLocalValue, toLocalValueReadOnly, toLocalVar, toLocalVarDeclAsRef, toLongMarshalCost, toLongValue, toObject, toRef, toRefValue, toShortMarshalCost, toStringBuilder, toStringBuilder, toStringBuilder, toStringBuilder, toStringMarshalCost, toStringValue, toStringValue, toStringValueMarshalCost, toUnicode, toUnicodeValue, toUnicodeValue, toUnicodeValueMarshalCost, toValue, toVar, unsetArray, unsetField, unsetThisArray, unsetThisField, valuesToArray, varDump, varExport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JavaMapValue

public JavaMapValue(Env env,
                    java.util.Map map,
                    JavaClassDef def)
Method Detail

get

public Value get(Value name)
Description copied from class: ObjectValue
Returns the array value with the given key.

Overrides:
get in class ObjectValue

put

public Value put(Value index,
                 Value value)
Description copied from class: ObjectValue
Sets the array value with the given key.

Overrides:
put in class ObjectValue