Package org.la4j.iterator
Class CursorIterator
- java.lang.Object
-
- org.la4j.iterator.CursorIterator
-
- All Implemented Interfaces:
java.util.Iterator<java.lang.Double>
- Direct Known Subclasses:
MatrixIterator
,VectorIterator
abstract class CursorIterator extends java.lang.Object implements java.util.Iterator<java.lang.Double>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
CursorIterator.IteratorState
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Collection<CursorIterator.IteratorState>
TAKEN_FROM_BOTH
-
Constructor Summary
Constructors Constructor Description CursorIterator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected CursorIterator
andAlso(CursorIterator those, JoinFunction function)
protected abstract int
cursor()
abstract double
get()
protected CursorIterator
orElse(CursorIterator those, JoinFunction function)
void
remove()
abstract void
set(double value)
-
-
-
Field Detail
-
TAKEN_FROM_BOTH
private static final java.util.Collection<CursorIterator.IteratorState> TAKEN_FROM_BOTH
-
-
Method Detail
-
get
public abstract double get()
-
set
public abstract void set(double value)
-
cursor
protected abstract int cursor()
-
orElse
protected CursorIterator orElse(CursorIterator those, JoinFunction function)
-
andAlso
protected CursorIterator andAlso(CursorIterator those, JoinFunction function)
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator<java.lang.Double>
-
-