public class NdIndexIterator extends Object implements Iterator<int[]>
Constructor and Description |
---|
NdIndexIterator(char order,
boolean cache,
int... shape)
Pass in the shape to iterate over.
|
NdIndexIterator(char order,
int... shape)
Pass in the shape to iterate over
|
NdIndexIterator(int... shape)
Pass in the shape to iterate over.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
int[] |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public NdIndexIterator(int... shape)
shape
- the shape to iterate overpublic NdIndexIterator(char order, boolean cache, int... shape)
shape
- the shape to iterate overpublic NdIndexIterator(char order, int... shape)
shape
- the shape to iterate overCopyright © 2017. All rights reserved.