Package org.ujmp.core.util
Class NonZeroIterator
java.lang.Object
org.ujmp.core.util.NonZeroIterator
- All Implemented Interfaces:
Iterator<long[]>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final long[]
private int
private final long[]
private final int
-
Constructor Summary
Constructors -
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
-
indices
private final long[] indices -
valueCount
private final int valueCount -
coordinates
private final long[] coordinates -
currentPos
private int currentPos
-
-
Constructor Details
-
NonZeroIterator
public NonZeroIterator(long[] indices, int valueCount)
-
-
Method Details