public interface MatrixIterator extends Iterator<MatrixTuple>, Comparable<MatrixIterator>
Comparable
Iterator
over MatrixTuple
s.
The comparison is based on the indices, not on the values. To use the comparator .next must have been called once.
Modifier and Type | Method and Description |
---|---|
default int |
compareTo(MatrixIterator o) |
MatrixTuple |
getReference()
Gets the MatrixTuple reference that this iterator updates.
|
forEachRemaining, hasNext, next, remove
MatrixTuple getReference()
default int compareTo(MatrixIterator o)
compareTo
in interface Comparable<MatrixIterator>
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.