Class CombinationGeneratorFlexible<DATATYPE>

java.lang.Object
com.helger.commons.math.CombinationGeneratorFlexible<DATATYPE>
Type Parameters:
DATATYPE - Element type

@Immutable public final class CombinationGeneratorFlexible<DATATYPE> extends Object
Utility class for generating all possible combinations of elements for a specified number of available slots. Duplicates in the passed elements will not deliver duplicate result solutions. This implementation is flexible in terms of handling the slots. This means it will also return result sets where not all slots are filled.
Author:
Boris Gregorcic, Philip Helger