-
- All Known Implementing Classes:
LongArrayReferenceIterator
,LongListReferenceIterator
public interface ReferenceIterator
Type-safe, resettable iterator for references.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
hasNext()
Long
next()
void
reset()
Resets the iterator back to the start of the structure it is iterating.
-
-
-
Method Detail
-
hasNext
boolean hasNext()
- Returns:
- True if next() will return non-null, false otherwise.
-
next
Long next()
- Returns:
- Next reference
-
reset
void reset()
Resets the iterator back to the start of the structure it is iterating. Iterator will behave as if it has just been constructed
-
-