Package io.quarkus.arc.impl
Class Sets
java.lang.Object
io.quarkus.arc.impl.Sets
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E> Set<E>of(E... elements) UnlikeSet.of(Object...)this method does not throw anIllegalArgumentExceptionif there are duplicate elements.static <E> HashSet<E>singletonHashSet(E element)
-
Method Details
-
of
UnlikeSet.of(Object...)this method does not throw anIllegalArgumentExceptionif there are duplicate elements.- Type Parameters:
E-- Parameters:
elements-- Returns:
- the set
-
singletonHashSet
-