- All Implemented Interfaces:
Iterator<int[]>
public class BoundedSubsetIterator
extends Object
implements Iterator<int[]>
-
Constructor Summary
Constructors
-
Method Summary
boolean
static void
int[]
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
BoundedSubsetIterator
public BoundedSubsetIterator(int[] elements,
int minSize)
-
Method Details
-
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator<int[]>
-
next
public int[] next()
- Specified by:
next in interface Iterator<int[]>
-
main
public static void main(String[] args)