-
-
Field Summary
Fields
Modifier and Type |
Field and Description |
protected int[] |
goal |
protected int |
n |
protected Stack<net.sourceforge.jabm.util.PermutatorState> |
stack |
-
Constructor Summary
Constructors
Constructor and Description |
Permutator(int[] goal) |
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Field Detail
-
goal
protected int[] goal
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<int[]>
-
next
public int[] next()
- Specified by:
next
in interface Iterator<int[]>
-
remove
public void remove()
- Specified by:
remove
in interface Iterator<int[]>
Copyright © 2014. All rights reserved.