public static final class IntegerPartitions.NumberPartitionsIterable
extends java.lang.Object
implements java.util.Iterator<int[]>, java.lang.Iterable<int[]>
Constructor and Description |
---|
NumberPartitionsIterable(int num) |
NumberPartitionsIterable(int num,
int l) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
java.util.Iterator<int[]> |
iterator() |
int[] |
next() |
void |
remove() |
public NumberPartitionsIterable(int num)
public NumberPartitionsIterable(int num, int l)
public int[] next()
next
in interface java.util.Iterator<int[]>
public boolean hasNext()
hasNext
in interface java.util.Iterator<int[]>
public void remove()
remove
in interface java.util.Iterator<int[]>
public java.util.Iterator<int[]> iterator()
iterator
in interface java.lang.Iterable<int[]>