|
||||||||||
| 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()
|
|
| Method Summary | |
|---|---|
Value |
__construct(Env env,
Value qThis,
Value value,
int flags)
|
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()
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()
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()
| Method Detail |
|---|
public Value __construct(Env env,
Value qThis,
Value value,
int flags)
public void append(Value value)
public void asort(ArrayValue array,
long sortFlag)
public int count()
count in interface Countablepublic Value current(Env env)
Iterator
current in interface Iteratorpublic Value getArrayCopy()
public int getFlags()
public Value key(Env env)
Iterator
key in interface Iteratorpublic void ksort(long sortFlag)
public void natcasesort()
public void natsort()
public void next(Env env)
Iterator
next in interface Iteratorpublic boolean offsetExists(Value offset)
offsetExists in interface ArrayAccesspublic Value offsetGet(Value offset)
offsetGet in interface ArrayAccess
public Value offsetSet(Value offset,
Value value)
offsetSet in interface ArrayAccesspublic Value offsetUnset(Value offset)
offsetUnset in interface ArrayAccesspublic void rewindJava(Env env)
public void rewind()
Iterator
rewind in interface Iteratorpublic 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()
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 | |||||||||