org.fest.util
Class Sets

java.lang.Object
  extended by org.fest.util.Sets

public final class Sets
extends Object

Utility methods related to Sets.

Author:
alruiz

Method Summary
static
<T> LinkedHashSet<T>
newLinkedHashSet(T... elements)
          Creates a mutable LinkedHashSet containing the given elements.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newLinkedHashSet

public static <T> LinkedHashSet<T> newLinkedHashSet(T... elements)
Creates a mutable LinkedHashSet containing the given elements.

Type Parameters:
T - the generic type of the LinkedHashSet to create.
Parameters:
elements - the elements to store in the LinkedHashSet.
Returns:
the created LinkedHashSet, of null if the given array of elements is null.
Since:
1.1.5


Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.