Package cc.redberry.combinatorics
Class IntCombinatorialPort.Iterator
java.lang.Object
cc.redberry.combinatorics.IntCombinatorialIterator
cc.redberry.combinatorics.IntCombinatorialPort.Iterator
- All Implemented Interfaces:
CombinatorialIterator<int[]>,Serializable,Iterable<int[]>,Iterator<int[]>
- Enclosing interface:
- IntCombinatorialPort
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class cc.redberry.combinatorics.IntCombinatorialIterator
toListMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cc.redberry.combinatorics.CombinatorialIterator
iterator, streamMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Field Details
-
port
-
next
private int[] next
-
-
Constructor Details
-
Iterator
-
-
Method Details
-
reset
public void reset()Description copied from interface:CombinatorialIteratorResets the iteration -
current
public int[] current()Description copied from interface:CombinatorialIteratorReturns the reference on the current iteration element.- Returns:
- the reference on the current iteration element
-
hasNext
public boolean hasNext() -
next
public int[] next()
-