Package net.sf.colossus.util
Class Combos<T>
- java.lang.Object
-
- net.sf.colossus.util.Combos<T>
-
public final class Combos<T> extends java.lang.Object
Returns all possible combinations of n elements of a List.- Author:
- David Ripton
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
findCombinations(java.util.List<T> alist, int n, java.util.List<T> blist)
java.util.Iterator<java.util.List<T>>
iterator()
-