-
- All Known Implementing Classes:
LongArrayReferenceIterator,LongListReferenceIterator
public interface ReferenceIteratorType-safe, resettable iterator for references.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanhasNext()Longnext()voidreset()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
-
-