public class GbjIterator
extends java.lang.Object
implements java.util.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.
|
java.lang.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)
onCollection
- collection to iterate overstartingIdx
- starting index for iterationpublic GbjIterator(GbjObject onCollection)
onCollection
- collection to iterate overpublic GbjIterator(GbjCollection onCollection)
onCollection
- collection to iterate overpublic boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
public java.lang.Object nextElement()
nextElement
in interface java.util.Enumeration
public GbjObject[] remainingElements()