public final class IterationMeta extends Object
| Constructor and Description |
|---|
IterationMeta(int length) |
IterationMeta(Iterator<?> iterator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getIterHasNext() |
int |
getIterIndex()
The first element is at index
1. |
boolean |
getIterIsFirst() |
boolean |
getIterIsLast() |
void |
nextIteration() |
public IterationMeta(Iterator<?> iterator)
public IterationMeta(int length)
public int getIterIndex()
1.public boolean getIterHasNext()
true if the iteration has more elements,
false otherwisepublic boolean getIterIsFirst()
true for the first iteration, false otherwisepublic boolean getIterIsLast()
true for the last iteration, false otherwisepublic void nextIteration()
Copyright © 2014. All Rights Reserved.