Implementation follows Algorithm T in The Art of Computer Programming Internet Draft (PRE-FASCICLE 3A), "A Draft of Section 7.2.1.3 Generating All Combinations, D. Knuth, 2004.
The degenerate cases {@code k== 0} and {@code k== n} are NOT handled by thisimplementation. If constructor arguments satisfy {@code k== 0}or {@code k >= n}, no exception is generated, but the iterator is empty.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|