public class IteratorFast extends java.lang.Object implements IndexIterator
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBooleanCurrent()
Get current value as a boolean
|
boolean |
getBooleanNext()
Get next value as a boolean
|
byte |
getByteCurrent()
Get current value as a byte
|
byte |
getByteNext()
Get next value as a byte
|
char |
getCharCurrent()
Get current value as a char
|
char |
getCharNext()
Get next value as a char
|
int[] |
getCurrentCounter()
Get the current counter, use for debugging
|
double |
getDoubleCurrent()
Get current value as a double
|
double |
getDoubleNext()
Get next value as a double
|
float |
getFloatCurrent()
Get current value as a float
|
float |
getFloatNext()
Get next value as a float
|
int |
getIntCurrent()
Get current value as a int
|
int |
getIntNext()
Get next value as a int
|
long |
getLongCurrent()
Get current value as a long
|
long |
getLongNext()
Get next value as a long
|
java.lang.Object |
getObjectCurrent()
Get current value as a Object
|
java.lang.Object |
getObjectNext()
Get next value as an Object
|
short |
getShortCurrent()
Get current value as a short
|
short |
getShortNext()
Get next value as a short
|
boolean |
hasMore(int howMany) |
boolean |
hasNext()
Return true if there are more elements in the iteration.
|
java.lang.Object |
next()
Get next value as an Object
|
void |
setBooleanCurrent(boolean val)
Set current value with a boolean
|
void |
setBooleanNext(boolean val)
Set next value with a boolean
|
void |
setByteCurrent(byte val)
Set current value with a byte
|
void |
setByteNext(byte val)
Set next value with a byte
|
void |
setCharCurrent(char val)
Set current value with a char
|
void |
setCharNext(char val)
Set next value with a char
|
void |
setDoubleCurrent(double val)
Set current value with a double
|
void |
setDoubleNext(double val)
Set next value with a double
|
void |
setFloatCurrent(float val)
Set current value with a float
|
void |
setFloatNext(float val)
Set next value with a float
|
void |
setIntCurrent(int val)
Set current value with a int
|
void |
setIntNext(int val)
Set next value with a int
|
void |
setLongCurrent(long val)
Set current value with a long
|
void |
setLongNext(long val)
Set next value with a long
|
void |
setObjectCurrent(java.lang.Object val)
Set current value with a Object
|
void |
setObjectNext(java.lang.Object val)
Set next value with a Object
|
void |
setShortCurrent(short val)
Set current value with a short
|
void |
setShortNext(short val)
Set next value with a short
|
java.lang.String |
toString() |
public boolean getBooleanCurrent()
IndexIteratorgetBooleanCurrent in interface IndexIteratorpublic boolean getBooleanNext()
IndexIteratorgetBooleanNext in interface IndexIteratorpublic byte getByteCurrent()
IndexIteratorgetByteCurrent in interface IndexIteratorpublic byte getByteNext()
IndexIteratorgetByteNext in interface IndexIteratorpublic char getCharCurrent()
IndexIteratorgetCharCurrent in interface IndexIteratorpublic char getCharNext()
IndexIteratorgetCharNext in interface IndexIteratorpublic int[] getCurrentCounter()
IndexIteratorgetCurrentCounter in interface IndexIteratorpublic double getDoubleCurrent()
IndexIteratorgetDoubleCurrent in interface IndexIteratorpublic double getDoubleNext()
IndexIteratorgetDoubleNext in interface IndexIteratorpublic float getFloatCurrent()
IndexIteratorgetFloatCurrent in interface IndexIteratorpublic float getFloatNext()
IndexIteratorgetFloatNext in interface IndexIteratorpublic int getIntCurrent()
IndexIteratorgetIntCurrent in interface IndexIteratorpublic int getIntNext()
IndexIteratorgetIntNext in interface IndexIteratorpublic long getLongCurrent()
IndexIteratorgetLongCurrent in interface IndexIteratorpublic long getLongNext()
IndexIteratorgetLongNext in interface IndexIteratorpublic java.lang.Object getObjectCurrent()
IndexIteratorgetObjectCurrent in interface IndexIteratorpublic java.lang.Object getObjectNext()
IndexIteratorgetObjectNext in interface IndexIteratorpublic short getShortCurrent()
IndexIteratorgetShortCurrent in interface IndexIteratorpublic short getShortNext()
IndexIteratorgetShortNext in interface IndexIteratorpublic boolean hasMore(int howMany)
public boolean hasNext()
IndexIteratorhasNext in interface IndexIteratorpublic java.lang.Object next()
IndexIteratornext in interface IndexIteratorpublic void setBooleanCurrent(boolean val)
IndexIteratorsetBooleanCurrent in interface IndexIteratorval - the current value as a booleanpublic void setBooleanNext(boolean val)
IndexIteratorsetBooleanNext in interface IndexIteratorval - the next value as a booleanpublic void setByteCurrent(byte val)
IndexIteratorsetByteCurrent in interface IndexIteratorval - the current value as a bytepublic void setByteNext(byte val)
IndexIteratorsetByteNext in interface IndexIteratorval - the next value as a bytepublic void setCharCurrent(char val)
IndexIteratorsetCharCurrent in interface IndexIteratorval - the current value as a charpublic void setCharNext(char val)
IndexIteratorsetCharNext in interface IndexIteratorval - the next value as a charpublic void setDoubleCurrent(double val)
IndexIteratorsetDoubleCurrent in interface IndexIteratorval - the current value as a doublepublic void setDoubleNext(double val)
IndexIteratorsetDoubleNext in interface IndexIteratorval - the next value as a doublepublic void setFloatCurrent(float val)
IndexIteratorsetFloatCurrent in interface IndexIteratorval - the current value as a floatpublic void setFloatNext(float val)
IndexIteratorsetFloatNext in interface IndexIteratorval - the next value as a floatpublic void setIntCurrent(int val)
IndexIteratorsetIntCurrent in interface IndexIteratorval - the current value as a intpublic void setIntNext(int val)
IndexIteratorsetIntNext in interface IndexIteratorval - the next value as a intpublic void setLongCurrent(long val)
IndexIteratorsetLongCurrent in interface IndexIteratorval - the current value as a longpublic void setLongNext(long val)
IndexIteratorsetLongNext in interface IndexIteratorval - the next value as a longpublic void setObjectCurrent(java.lang.Object val)
IndexIteratorsetObjectCurrent in interface IndexIteratorval - the current value as a Objectpublic void setObjectNext(java.lang.Object val)
IndexIteratorsetObjectNext in interface IndexIteratorval - the next value as a Objectpublic void setShortCurrent(short val)
IndexIteratorsetShortCurrent in interface IndexIteratorval - the current value as a shortpublic void setShortNext(short val)
IndexIteratorsetShortNext in interface IndexIteratorval - the next value as a shortpublic java.lang.String toString()
toString in class java.lang.Object