Package org.ojalgo.structure
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 long
private long
-
Constructor Summary
ConstructorsConstructorDescriptionIterator1D
(Access1D<? extends N> access) Iterator1D
(Access1D<? extends N> access, long cursor) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
myAccess
-
myCount
private final long myCount -
myNextIndex
private long myNextIndex
-
-
Constructor Details
-
Iterator1D
-
Iterator1D
-
-
Method Details
-
add
- Specified by:
add
in interfaceListIterator<N extends Comparable<N>>
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator<N extends Comparable<N>>
- Specified by:
hasNext
in interfaceListIterator<N extends Comparable<N>>
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPrevious
in interfaceListIterator<N extends Comparable<N>>
-
next
- Specified by:
next
in interfaceIterator<N extends Comparable<N>>
- Specified by:
next
in interfaceListIterator<N extends Comparable<N>>
-
nextIndex
public int nextIndex()- Specified by:
nextIndex
in interfaceListIterator<N extends Comparable<N>>
-
previous
- Specified by:
previous
in interfaceListIterator<N extends Comparable<N>>
-
previousIndex
public int previousIndex()- Specified by:
previousIndex
in interfaceListIterator<N extends Comparable<N>>
-
remove
public void remove()- Specified by:
remove
in interfaceIterator<N extends Comparable<N>>
- Specified by:
remove
in interfaceListIterator<N extends Comparable<N>>
-
set
- Specified by:
set
in interfaceListIterator<N extends Comparable<N>>
-