Package pascal.taie.util.collection
Class Sets
java.lang.Object
pascal.taie.util.collection.Sets
Static utility methods for
Set
.-
Method Summary
Modifier and TypeMethodDescriptionstatic <E> Set<E>
static <E> Set<E>
static <E> Set<E>
static <E> Set<E>
newHybridSet
(Collection<E> c) static <E> Set<E>
static <E extends Comparable<E>>
TreeSet<E>static <E> TreeSet<E>
newOrderedSet
(Comparator<? super E> comparator) static <E> Set<E>
newSet()
static <E> Set<E>
newSet
(int initialCapacity) static <E> Set<E>
newSet
(Collection<? extends E> set) static <E> Set<E>
-
Method Details
-
newSet
-
newSet
-
newLinkedSet
-
newSet
-
newOrderedSet
-
newOrderedSet
-
newSmallSet
-
newHybridSet
-
newHybridSet
-
newHybridOrderedSet
-
newConcurrentSet
-