Package org.fest.util
Class Sets
java.lang.Object
org.fest.util.Sets
Utility methods related to
Sets.- Author:
- alruiz
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> LinkedHashSet<T>newLinkedHashSet(T... elements) Creates a mutableLinkedHashSetcontaining the given elements.
-
Method Details
-
newLinkedHashSet
Creates a mutableLinkedHashSetcontaining the given elements.- Type Parameters:
T- the generic type of theLinkedHashSetto create.- Parameters:
elements- the elements to store in theLinkedHashSet.- Returns:
- the created
LinkedHashSet, ofnullif the given array of elements isnull. - Since:
- 1.1.5
-