com.hp.hpl.jena.sparql.util
Class CollectionUtils

java.lang.Object
  extended by com.hp.hpl.jena.sparql.util.CollectionUtils

public class CollectionUtils
extends Object


Constructor Summary
CollectionUtils()
           
 
Method Summary
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.
static
<T> void
removeNulls(Collection<T> list)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionUtils

public CollectionUtils()
Method Detail

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