org.fest.util
Class Sets
java.lang.Object
org.fest.util.Sets
public final class Sets
- extends Object
Utility methods related to Sets.
- Author:
- alruiz
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.