Package org.tribuo.math.la
Interface VectorIterator
- All Superinterfaces:
Comparable<VectorIterator>
,Iterator<VectorTuple>
A
Comparable
Iterator
over VectorTuple
s.
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 int
Gets 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:
compareTo
in interfaceComparable<VectorIterator>
-