Interface VectorIterator
- All Superinterfaces:
Comparable<VectorIterator>,Iterator<VectorTuple>
A
Comparable Iterator over VectorTuples.
The comparison is based on the indices, not on the values. To use the comparator .next must have been called once.
-
Method Summary
Modifier and TypeMethodDescriptiondefault intGets the reference to the VectorTuple this iterator updates.Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Method Details
-
getReference
VectorTuple getReference()Gets the reference to the VectorTuple this iterator updates.- Returns:
- The VectorTuple reference.
-
compareTo
- Specified by:
compareToin interfaceComparable<VectorIterator>
-