org.omnaest.utils.structure.collection
Class SetUtils

java.lang.Object
  extended by org.omnaest.utils.structure.collection.SetUtils

public class SetUtils
extends Object


Constructor Summary
SetUtils()
           
 
Method Summary
static
<E> Set<E>
mergeAll(Collection<? extends Collection<E>> collections)
          Merges all elements of the given Collection instances into one single Set instance .
static
<E> Set<E>
mergeAll(Collection<E>... collections)
          Merges all elements of the given Collection instances into one single Set instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetUtils

public SetUtils()
Method Detail

mergeAll

public static <E> Set<E> mergeAll(Collection<E>... collections)
Merges all elements of the given Collection instances into one single Set instance.

Type Parameters:
E -
Parameters:
collections -
Returns:
See Also:
mergeAll(Collection)

mergeAll

public static <E> Set<E> mergeAll(Collection<? extends Collection<E>> collections)
Merges all elements of the given Collection instances into one single Set instance .

Type Parameters:
E -
Parameters:
collections -
Returns:
See Also:
mergeAll(Collection...)


Copyright © 2011. All Rights Reserved.