Class Iterator1D<N extends Comparable<N>>
java.lang.Object
org.ojalgo.structure.Iterator1D<N>
- All Implemented Interfaces:
Iterator<N>, ListIterator<N>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final longprivate long -
Constructor Summary
ConstructorsConstructorDescriptionIterator1D(Access1D<? extends N> access) Iterator1D(Access1D<? extends N> access, long cursor) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Field Details
-
myAccess
-
myCount
private final long myCount -
myNextIndex
private long myNextIndex
-
-
Constructor Details
-
Iterator1D
-
Iterator1D
-
-
Method Details
-
add
- Specified by:
addin interfaceListIterator<N extends Comparable<N>>
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<N extends Comparable<N>>- Specified by:
hasNextin interfaceListIterator<N extends Comparable<N>>
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPreviousin interfaceListIterator<N extends Comparable<N>>
-
next
- Specified by:
nextin interfaceIterator<N extends Comparable<N>>- Specified by:
nextin interfaceListIterator<N extends Comparable<N>>
-
nextIndex
public int nextIndex()- Specified by:
nextIndexin interfaceListIterator<N extends Comparable<N>>
-
previous
- Specified by:
previousin interfaceListIterator<N extends Comparable<N>>
-
previousIndex
public int previousIndex()- Specified by:
previousIndexin interfaceListIterator<N extends Comparable<N>>
-
remove
public void remove()- Specified by:
removein interfaceIterator<N extends Comparable<N>>- Specified by:
removein interfaceListIterator<N extends Comparable<N>>
-
set
- Specified by:
setin interfaceListIterator<N extends Comparable<N>>
-