- java.lang.Object
-
- org.ojalgo.matrix.store.R064CSR.NonZeroView
-
- All Implemented Interfaces:
java.lang.Comparable<R064CSR.NonZeroView>,java.lang.Iterable<R064CSR.NonZeroView>,java.util.Iterator<R064CSR.NonZeroView>,java.util.Spliterator<R064CSR.NonZeroView>,AccessScalar<java.lang.Double>,ElementView1D<java.lang.Double,R064CSR.NonZeroView>,ElementView2D<java.lang.Double,R064CSR.NonZeroView>,NumberDefinition
- Enclosing class:
- R064CSR
public static final class R064CSR.NonZeroView extends java.lang.Object implements ElementView2D<java.lang.Double,R064CSR.NonZeroView>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface java.util.Spliterator
java.util.Spliterator.OfDouble, java.util.Spliterator.OfInt, java.util.Spliterator.OfLong, java.util.Spliterator.OfPrimitive<T extends java.lang.Object,T_CONS extends java.lang.Object,T_SPLITR extends java.util.Spliterator.OfPrimitive<T,T_CONS,T_SPLITR>>
-
-
Field Summary
Fields Modifier and Type Field Description private intmyCursorprivate intmyLastprivate R064CSRmyMatrixprivate intmyRow-
Fields inherited from interface org.ojalgo.structure.ElementView1D
CHARACTERISTICS
-
-
Constructor Summary
Constructors Constructor Description NonZeroView(R064CSR matrix)NonZeroView(R064CSR matrix, int cursor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcolumn()doubledoubleValue()longestimateSize()java.lang.Doubleget()booleanhasNext()booleanhasPrevious()longindex()R064CSR.NonZeroViewiterator()R064CSR.NonZeroViewnext()R064CSR.NonZeroViewprevious()longrow()R064CSR.NonZeroViewtrySplit()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ojalgo.structure.ElementView1D
characteristics, compareTo, forEachRemaining, getComparator, nextIndex, previousIndex, remove, step, stream, tryAdvance
-
Methods inherited from interface org.ojalgo.type.NumberDefinition
booleanValue, byteValue, floatValue, intValue, longValue, shortValue
-
-
-
-
Field Detail
-
myCursor
private int myCursor
-
myLast
private final int myLast
-
myMatrix
private final R064CSR myMatrix
-
myRow
private int myRow
-
-
Method Detail
-
column
public long column()
- Specified by:
columnin interfaceElementView2D<java.lang.Double,R064CSR.NonZeroView>
-
doubleValue
public double doubleValue()
- Specified by:
doubleValuein interfaceNumberDefinition
-
estimateSize
public long estimateSize()
- Specified by:
estimateSizein interfacejava.util.Spliterator<R064CSR.NonZeroView>
-
get
public java.lang.Double get()
- Specified by:
getin interfaceAccessScalar<java.lang.Double>
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator<R064CSR.NonZeroView>
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPreviousin interfaceElementView1D<java.lang.Double,R064CSR.NonZeroView>
-
index
public long index()
- Specified by:
indexin interfaceElementView1D<java.lang.Double,R064CSR.NonZeroView>
-
iterator
public R064CSR.NonZeroView iterator()
- Specified by:
iteratorin interfaceElementView1D<java.lang.Double,R064CSR.NonZeroView>- Specified by:
iteratorin interfacejava.lang.Iterable<R064CSR.NonZeroView>
-
next
public R064CSR.NonZeroView next()
- Specified by:
nextin interfacejava.util.Iterator<R064CSR.NonZeroView>
-
previous
public R064CSR.NonZeroView previous()
- Specified by:
previousin interfaceElementView1D<java.lang.Double,R064CSR.NonZeroView>
-
row
public long row()
- Specified by:
rowin interfaceElementView2D<java.lang.Double,R064CSR.NonZeroView>
-
trySplit
public R064CSR.NonZeroView trySplit()
- Specified by:
trySplitin interfaceElementView1D<java.lang.Double,R064CSR.NonZeroView>- Specified by:
trySplitin interfacejava.util.Spliterator<R064CSR.NonZeroView>
-
-