public class ArrayCopyValueImpl extends ArrayValueImpl
ArrayValue.AbstractGet, ArrayValue.Entry, ArrayValue.EntryIterator, ArrayValue.EntrySet, ArrayValue.GetKey, ArrayValue.GetValue, ArrayValue.KeyComparator, ArrayValue.KeyIterator, ArrayValue.KeySet, ArrayValue.ValueCollection, ArrayValue.ValueComparator, ArrayValue.ValueIterator
L, NULL_ARGS, NULL_VALUE_ARRAY
Modifier | Constructor and Description |
---|---|
protected |
ArrayCopyValueImpl(Env env,
ArrayValue copy,
CopyRoot root)
Copy for unserialization.
|
Modifier and Type | Method and Description |
---|---|
ArrayValue |
append(Value key,
Value value)
Adds a new value.
|
void |
clear()
Clears the array
|
Value |
copy()
Copy the value.
|
Value |
copyReturn()
Copy for return.
|
Value |
copySaveFunArg()
Copy for saving a method's arguments.
|
Value |
getArg(Value index,
boolean isTop)
Returns the value as an argument which may be a reference.
|
Value |
getDirty(Value index)
Returns the value as an array, using copy on write if necessary.
|
Var |
getVar(Value index)
Returns the array ref.
|
Value |
put(Value value)
Add
|
Value |
put(Value key,
Value value)
Adds a new value.
|
Var |
putVar()
Sets the array ref.
|
Value |
remove(Value key)
Removes a value.
|
Value |
shuffle()
Shuffles the array
|
ArrayValue |
splice(int start,
int end,
ArrayValue replace)
Replace a section of the array.
|
Value |
toLocalRef()
Convert to an argument value.
|
ArrayValue |
unshift(Value value)
Add to the beginning
|
contains, containsKey, containsStrict, copy, copyFrom, copyTree, createTailKey, generate, get, getArgTail, getArray, getEntries, getHashMask, getHead, getKeys, getNextAvailableIndex, getObject, getRaw, getRef, getSize, getTail, getType, getValues, isArray, pop, size, slice, toBoolean, toLocalValue, toObject, toRefValue, toString
add, append, callCallback, callCallback, callCallback, cmp, current, each, end, entrySet, eq, eql, geq, getBaseIterator, getCount, getCountRecursive, getCurrent, getIterator, getKeyArray, getKeyIterator, getValueArray, getValueIterator, getValueType, gt, hasCurrent, isCallable, isEmpty, isEmpty, isset, jsonEncode, jsonEncodeAssociative, key, keyExists, keyReset, keySet, keysToArray, leq, lt, next, prev, print, printREntry, printRImpl, 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, varDumpImpl, varExportImpl
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, findQuercusClass, get, getArray, getCallableName, getCalledClass, getClassName, getField, getFieldArg, getFieldArgRef, getFieldArray, getFieldObject, getFieldVar, getHashCode, getIterator, getObject, getObjectHash, getQuercusClass, getResourceType, getStaticFieldValue, getStaticFieldVar, getThisField, getThisFieldArg, getThisFieldArgRef, getThisFieldArray, getThisFieldObject, getThisFieldVar, hashCode, increment, initField, initField, initField, initIncompleteField, isA, isA, isBinary, isBoolean, isDefault, isDouble, isDoubleConvertible, isFieldExists, 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, putArray, putField, putField, putField, putObject, putThisField, putThisField, putThisFieldArray, rshift, serialize, set, setCharValueAt, setFieldInit, setJavaObject, setStaticFieldRef, sub_rev, sub, sub, subOne, toArgRef, toAutoObject, toBigDecimal, toBigInteger, toBinaryValue, toBinaryValue, toBinaryValue, toBooleanMarshalCost, toByteArrayMarshalCost, toByteMarshalCost, toChar, toCharArrayMarshalCost, toDebugString, toDouble, toDouble, toDouble, toDouble, toDoubleMarshalCost, toDoubleValue, toException, toFloatMarshalCost, toInputStream, toInt, toIntegerMarshalCost, toInternString, toJavaBoolean, toJavaByte, toJavaCalendar, toJavaCharacter, toJavaDate, toJavaDouble, toJavaEnum, toJavaFloat, toJavaInteger, toJavaLong, toJavaObject, toJavaObjectMarshalCost, toJavaObjectNotNull, toJavaShort, toJavaString, toJavaURL, toLocalThis, toLocalValueReadOnly, toLocalVar, toLocalVarDeclAsRef, toLong, toLong, toLong, toLong, toLongMarshalCost, toLongValue, toRef, toShortMarshalCost, toStringBuilder, toStringBuilder, toStringBuilder, toStringBuilder, toStringValue, toStringValue, toUnicode, toUnicodeValue, toUnicodeValue, toValue, toVar, unsetArray, unsetField, unsetThisArray, unsetThisField, unsetThisPrivateField, varDump, varExport
protected ArrayCopyValueImpl(Env env, ArrayValue copy, CopyRoot root)
public void clear()
clear
in class ArrayValueImpl
public Value put(Value key, Value value)
put
in class ArrayValue
public ArrayValue append(Value key, Value value)
append
in class ArrayValueImpl
public ArrayValue unshift(Value value)
unshift
in class ArrayValueImpl
public ArrayValue splice(int start, int end, ArrayValue replace)
splice
in class ArrayValueImpl
public Value getArg(Value index, boolean isTop)
getArg
in class ArrayValueImpl
public Value getDirty(Value index)
getDirty
in class ArrayValueImpl
public Value put(Value value)
put
in class ArrayValueImpl
public Var putVar()
putVar
in class ArrayValueImpl
public Value remove(Value key)
remove
in class ArrayValueImpl
public Var getVar(Value index)
getVar
in class ArrayValueImpl
public Value shuffle()
shuffle
in class ArrayValueImpl
public Value copy()
copy
in class ArrayValueImpl
public Value toLocalRef()
toLocalRef
in class ArrayValueImpl
public Value copyReturn()
copyReturn
in class ArrayValueImpl
public Value copySaveFunArg()
copySaveFunArg
in class ArrayValueImpl