E
- the type of the elementspublic final class RepeatedCombinationIterator<E> extends java.lang.Object implements java.util.Iterator<RubyArray<E>>
RepeatedCombinationIterator
generates all repeated combinations into
a List with length n.Constructor and Description |
---|
RepeatedCombinationIterator(java.util.List<? extends E> list,
int n)
Creates a
RepeatedCombinationIterator . |
public RepeatedCombinationIterator(java.util.List<? extends E> list, int n)
RepeatedCombinationIterator
.list
- a Listn
- length of each repeated combinationjava.lang.NullPointerException
- if list is null