| Constructor and Description |
|---|
IterationMeta(String alias,
int length) |
IterationMeta(String alias,
Iterator<?> iterator) |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(String key) |
int |
getIndex()
The first element is at index
1. |
boolean |
hasNext() |
boolean |
isEven() |
boolean |
isFirst() |
boolean |
isLast() |
boolean |
isOdd() |
void |
nextIteration() |
public IterationMeta(String alias, Iterator<?> iterator)
alias - iterator - public IterationMeta(String alias, int length)
alias - length - public int getIndex()
1.public boolean hasNext()
true if the iteration has more elements,
false otherwisepublic boolean isFirst()
true for the first iteration, false
otherwisepublic boolean isLast()
true for the last iteration, false
otherwisepublic boolean isOdd()
true if the current index is odd, false
otherwisepublic boolean isEven()
true if the current index is even,
false otherwisepublic void nextIteration()
Copyright © 2015. All Rights Reserved.