public class GuavaExt extends Object
| Constructor and Description |
|---|
GuavaExt() |
| Modifier and Type | Method and Description |
|---|---|
static <T> List<List<T>> |
processSubsets(List<T> set,
int subsetSize)
Creates a list of all subsets containing the specified number of elements
|
public static <T> List<List<T>> processSubsets(List<T> set, int subsetSize)
set - The items to create combinations ofsubsetSize - The size of each of the lists in the resultCopyright © 2014. All rights reserved.