public interface VectorIterator extends Iterator<VectorTuple>, Comparable<VectorIterator>
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.
Modifier and Type | Method and Description |
---|---|
default int |
compareTo(VectorIterator o) |
VectorTuple |
getReference()
Gets the reference to the VectorTuple this iterator updates.
|
forEachRemaining, hasNext, next, remove
VectorTuple getReference()
default int compareTo(VectorIterator o)
compareTo
in interface Comparable<VectorIterator>
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.