Package org.fest.util
Class Sets
- java.lang.Object
-
- org.fest.util.Sets
-
public final class Sets extends java.lang.ObjectUtility methods related toSets.- Author:
- alruiz
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> java.util.LinkedHashSet<T>newLinkedHashSet(T... elements)Creates a mutableLinkedHashSetcontaining the given elements.
-
-
-
Method Detail
-
newLinkedHashSet
public static <T> java.util.LinkedHashSet<T> newLinkedHashSet(T... elements)
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
-
-