Package org.fest.util
Class Sets
java.lang.Object
org.fest.util.Sets
Utility methods related to
Sets.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> LinkedHashSet<T>newLinkedHashSet(T... elements) Creates a mutableLinkedHashSetcontaining the given elements.
-
Constructor Details
-
Sets
private Sets()
-
-
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
-