public class ArrayObject extends java.lang.Object implements ArrayAccess, Countable, IteratorAggregate, Traversable
Modifier and Type | Field and Description |
---|---|
static int |
ARRAY_AS_PROPS |
static int |
STD_PROP_LIST |
Constructor and Description |
---|
ArrayObject(Env env,
Value value,
int flags,
java.lang.String iteratorClassName) |
Modifier and Type | Method and Description |
---|---|
Value |
__getField(StringValue key) |
void |
append(Value value) |
void |
asort(long sortFlag) |
int |
count(Env env) |
Value |
exchangeArray(ArrayValue array) |
Value |
getArrayCopy() |
int |
getFlags() |
ObjectValue |
getIterator()
Returns the iterator.
|
java.lang.String |
getIteratorClass() |
void |
ksort(long sortFlag) |
void |
natcasesort() |
void |
natsort() |
boolean |
offsetExists(Env env,
Value offset) |
Value |
offsetGet(Env env,
Value offset) |
Value |
offsetSet(Env env,
Value offset,
Value value) |
Value |
offsetUnset(Env env,
Value offset) |
void |
printRImpl(Env env,
WriteStream out,
int depth,
java.util.IdentityHashMap<Value,java.lang.String> valueSet) |
void |
setFlags(Value flags) |
void |
setIteratorClass(java.lang.String iteratorClass) |
void |
uasort(Callable func) |
void |
uksort(Callable func,
long sortFlag) |
void |
varDumpImpl(Env env,
Value object,
WriteStream out,
int depth,
java.util.IdentityHashMap<Value,java.lang.String> valueSet) |
public static final int STD_PROP_LIST
public static final int ARRAY_AS_PROPS
public void append(Value value)
public void asort(long sortFlag)
public Value exchangeArray(ArrayValue array)
public Value getArrayCopy()
public int getFlags()
public ObjectValue getIterator()
IteratorAggregate
getIterator
in interface IteratorAggregate
public java.lang.String getIteratorClass()
public void ksort(long sortFlag)
public void natcasesort()
public void natsort()
public boolean offsetExists(Env env, Value offset)
offsetExists
in interface ArrayAccess
public Value offsetGet(Env env, Value offset)
offsetGet
in interface ArrayAccess
public Value offsetSet(Env env, Value offset, Value value)
offsetSet
in interface ArrayAccess
public Value offsetUnset(Env env, Value offset)
offsetUnset
in interface ArrayAccess
public void setFlags(Value flags)
public void setIteratorClass(java.lang.String iteratorClass)
public void uasort(Callable func)
public void uksort(Callable func, long sortFlag)
public Value __getField(StringValue key)
public void printRImpl(Env env, WriteStream out, int depth, java.util.IdentityHashMap<Value,java.lang.String> valueSet) throws java.io.IOException
java.io.IOException
public void varDumpImpl(Env env, Value object, WriteStream out, int depth, java.util.IdentityHashMap<Value,java.lang.String> valueSet) throws java.io.IOException
java.io.IOException