T
- public interface PairIterator<T>
Modifier and Type | Method and Description |
---|---|
void |
fwd()
Go to the next pair.
|
T |
getFirst()
Return the first value of the pair.
|
T |
getSecond()
Return the second value of the pair.
|
boolean |
hasNext()
Returns whether there are pairs left.
|
void |
reset()
Resets the iterator to just before the first element.
|
boolean hasNext()
void reset()
void fwd()
T getFirst()
T getSecond()
Copyright © 2015–2021 Fiji. All rights reserved.