-
Notifications
You must be signed in to change notification settings - Fork 1
Home
dakusui edited this page May 14, 2013
·
12 revisions
Welcome to the enumerator wiki!
"Enumerator" is a Java library which allows you to enumerate permutations and combinations of a set that you give it to in a pretty natural Java manner like below,
List list = new LinkedList(); list.add("Alice"); list.add("Beth"); list.add("Christopher"); list.add("Derek");
Enumerator permutations = new Permutations(list, 2); while (permutations.hasNext()) { System.out.println(permutations.nexxt()); }