Interface LinearPositionIterator.LinearCoordinate
- Enclosing class:
- LinearPositionIterator
public static interface LinearPositionIterator.LinearCoordinate
The linear subject
-
Method Summary
Modifier and TypeMethodDescriptionboolean
hasNext
(Position current, BasePositionIterator iterator) Check if there is a next elementGet the next elementreset
(Position current, BasePositionIterator iterator) Reset the next element
-
Method Details
-
hasNext
Check if there is a next element- Parameters:
current
- the current elementiterator
- the iterator- Returns:
- true if there is a next element
-
next
Get the next element- Parameters:
current
- the current element
-
reset
Reset the next element- Parameters:
current
- the current elementiterator
- the iterator
-