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