public class ListCombinationGenerator<T> extends Object implements CombinationGenerator<T>
Modifier and Type | Field and Description |
---|---|
protected boolean |
initialised |
protected List<T> |
list |
Constructor and Description |
---|
ListCombinationGenerator(List<T> list,
int r) |
Modifier and Type | Method and Description |
---|---|
BigInteger |
getRemaining() |
BigInteger |
getTotal() |
boolean |
hasNext() |
void |
initialise() |
List<T> |
next() |
void |
producedValidCombination() |
void |
reset() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, remove
public void initialise()
public void reset()
reset
in interface CombinationGenerator<T>
public BigInteger getRemaining()
public BigInteger getTotal()
public void producedValidCombination()
producedValidCombination
in interface CombinationGenerator<T>
Copyright © 2020. All rights reserved.