Interface ReferenceIterator
- All Known Implementing Classes:
LongArrayReferenceIterator
,LongListReferenceIterator
public interface ReferenceIterator
Type-safe, resettable iterator for references.
-
Method Summary
-
Method Details
-
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
-