Package org.jboss.weld.util.collections
Class Sets
- java.lang.Object
-
- org.jboss.weld.util.collections.Sets
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <E> HashSet<E>
newHashSet(E... elements)
static <E> Set<E>
union(Set<? extends E> set1, Set<? extends E> set2)
This is a replacement for Guava's Sets#union(Set, Set).
-
-
-
Method Detail
-
newHashSet
@SafeVarargs public static <E> HashSet<E> newHashSet(E... elements)
- Parameters:
elements
-- Returns:
-
-