public class GbjIterator extends Object implements Enumeration
New constructor GbjIterator(GbjObject onCollection, long startingIdx) .
Modifier and Type | Field and Description |
---|---|
static int |
BatchSize
Specifies batch size.
|
Constructor and Description |
---|
GbjIterator(GbjCollection onCollection)
Usual Constructor
|
GbjIterator(GbjObject onCollection)
Usual Constructor
|
GbjIterator(GbjObject onCollection,
long startingIdx)
Constructor with starting index
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasMoreElements()
Return true if there are more elements to return from this iterator.
|
Object |
nextElement()
Return the next element from this iterator.
|
GbjObject[] |
remainingElements()
Return all of the remaining elements left in the iterator.
|
public static int BatchSize
public GbjIterator(GbjObject onCollection, long startingIdx)
public GbjIterator(GbjObject onCollection)
public GbjIterator(GbjCollection onCollection)
public boolean hasMoreElements()
hasMoreElements
in interface Enumeration
public Object nextElement()
nextElement
in interface Enumeration
public GbjObject[] remainingElements()