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 classCursorIterator.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 CursorIteratorandAlso(CursorIterator those, JoinFunction function)protected abstract intcursor()abstract doubleget()protected CursorIteratororElse(CursorIterator those, JoinFunction function)voidremove()abstract voidset(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:
removein interfacejava.util.Iterator<java.lang.Double>
-
-