public class NumberAscCombinationEnumeration extends Object implements Enumeration<int[]>
For example, for N=3:
{0, 1, 2} {0, 1} {0, 2} {1, 2} {0} {1} {2}
Constructor and Description |
---|
NumberAscCombinationEnumeration(int n) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasMoreElements() |
int[] |
nextElement() |
public boolean hasMoreElements()
hasMoreElements
in interface Enumeration<int[]>
public int[] nextElement()
nextElement
in interface Enumeration<int[]>
Copyright © 2005–2018. All rights reserved.