Interface MatrixIterator
- All Superinterfaces:
Comparable<MatrixIterator>,Iterator<MatrixTuple>
A
Comparable Iterator over MatrixTuples.
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 MatrixTuple reference that this iterator updates.Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Method Details
-
getReference
MatrixTuple getReference()Gets the MatrixTuple reference that this iterator updates.- Returns:
- The matrix tuple.
-
compareTo
- Specified by:
compareToin interfaceComparable<MatrixIterator>
-