public class PermutationUtil extends Object
Constructor and Description |
---|
PermutationUtil() |
Modifier and Type | Method and Description |
---|---|
static Collection<List<Integer>> |
getLinearPermutations(List<Integer> numList)
Gets a collection of lists, each list represents a single permutation.
|
static List<List<Integer>> |
getPermutationList(int maxLevel)
Gets all permutations for the given level and all sub-levels.
|
public static List<List<Integer>> getPermutationList(int maxLevel)
maxLevel
- -public static Collection<List<Integer>> getLinearPermutations(List<Integer> numList)
numList
- -Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.