com.hp.hpl.jena.sparql.util
Class CollectionUtils
java.lang.Object
com.hp.hpl.jena.sparql.util.CollectionUtils
public class CollectionUtils
- extends Object
Method Summary |
static
|
permute(List<T> c)
Return a list of lists of all the elements of collection in every order
Easy to run out of heap memory. |
static
|
removeNulls(Collection<T> list)
|
CollectionUtils
public CollectionUtils()
removeNulls
public static <T> void removeNulls(Collection<T> list)
permute
public static <T> List<List<T>> permute(List<T> c)
- Return a list of lists of all the elements of collection in every order
Easy to run out of heap memory.
Licenced under the Apache License, Version 2.0