Modifier and Type | Method and Description |
---|---|
int |
getCount()
Get the current unidimensional counter slot.
|
int |
getCount(int dim)
Get the current count in the selected dimension.
|
int[] |
getCounts()
Get the current multidimensional counter slots.
|
boolean |
hasNext() |
Integer |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public Integer next()
next
in interface Iterator<Integer>
1
.NoSuchElementException
- if hasNext()
would have
returned false
.public int getCount()
public int[] getCounts()
public int getCount(int dim)
dim
- Dimension index.IndexOutOfBoundsException
- if index
is not in the
correct interval (as defined by the length of the argument in the
constructor of the enclosing class
).public void remove()
remove
in interface Iterator<Integer>
UnsupportedOperationException
Copyright © 2016–2019 Hipparchus.org. All rights reserved.