|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.quercus.lib.spl.ArrayIterator
public class ArrayIterator
Field Summary | |
---|---|
static int |
ARRAY_AS_PROPS
|
static int |
STD_PROP_LIST
|
Constructor Summary | |
---|---|
ArrayIterator(Env env,
Value qThis,
Value value,
int flags)
|
Method Summary | |
---|---|
void |
append(Value value)
|
void |
asort(ArrayValue array,
long sortFlag)
|
int |
count()
|
Value |
current(Env env)
Returns the current value. |
Value |
getArrayCopy()
|
int |
getFlags()
|
Value |
key(Env env)
Returns the current key. |
void |
ksort(long sortFlag)
|
void |
natcasesort()
|
void |
natsort()
|
void |
next(Env env)
Advances to the next row. |
boolean |
offsetExists(Value offset)
|
Value |
offsetGet(Value offset)
|
Value |
offsetSet(Value offset,
Value value)
|
Value |
offsetUnset(Value offset)
|
void |
rewind(Env env)
Rewinds the iterator so it is at the first row. |
void |
rewindJava(Env env)
|
void |
seek(Env env,
int index)
Seeks to the given offset. |
void |
setFlags(Value flags)
|
void |
uasort(Callback func,
long sortFlag)
|
void |
uksort(Callback func,
long sortFlag)
|
boolean |
valid(Env env)
Returns true if the iterator currently points to a valid row. |
void |
varDumpImpl(Env env,
Value obj,
WriteStream out,
int depth,
java.util.IdentityHashMap<Value,java.lang.String> valueSet)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int STD_PROP_LIST
public static final int ARRAY_AS_PROPS
Constructor Detail |
---|
public ArrayIterator(Env env, Value qThis, Value value, int flags)
Method Detail |
---|
public void append(Value value)
public void asort(ArrayValue array, long sortFlag)
public int count()
count
in interface Countable
public Value current(Env env)
Iterator
current
in interface Iterator
public Value getArrayCopy()
public int getFlags()
public Value key(Env env)
Iterator
key
in interface Iterator
public void ksort(long sortFlag)
public void natcasesort()
public void natsort()
public void next(Env env)
Iterator
next
in interface Iterator
public boolean offsetExists(Value offset)
offsetExists
in interface ArrayAccess
public Value offsetGet(Value offset)
offsetGet
in interface ArrayAccess
public Value offsetSet(Value offset, Value value)
offsetSet
in interface ArrayAccess
public Value offsetUnset(Value offset)
offsetUnset
in interface ArrayAccess
public void rewindJava(Env env)
public void rewind(Env env)
Iterator
rewind
in interface Iterator
public void setFlags(Value flags)
public void seek(Env env, int index)
SeekableIterator
seek
in interface SeekableIterator
public void uasort(Callback func, long sortFlag)
public void uksort(Callback func, long sortFlag)
public boolean valid(Env env)
Iterator
valid
in interface Iterator
public void varDumpImpl(Env env, Value obj, WriteStream out, int depth, java.util.IdentityHashMap<Value,java.lang.String> valueSet) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |