- newHashSet
Creates a mutable HashSet instance initially containing the given elements.Note: if elements are non
- newTreeSet
Creates a mutable, empty TreeSet instance with the given comparator.Note: if mutability is not requi
- difference
Returns an unmodifiable view of the difference of two sets. The returned set
contains all elements t
- intersection
Returns an unmodifiable view of the intersection of two sets. The returned set
contains all elements
- newLinkedHashSet
Creates a mutable LinkedHashSet instance containing the given elements in order.
Note: if mutability
- cartesianProduct
Returns every possible list that can be formed by choosing one element from each
of the given sets i
- equalsImpl
An implementation for Set#equals(Object).
- filter
Returns the elements of a SortedSet, unfiltered, that satisfy a predicate. The
returned set is a liv
- hashCodeImpl
An implementation for Set#hashCode().
- makeComplementByHand
- newConcurrentHashSet
Creates a thread-safe set backed by a hash map and containing the given
elements. The set is backed
- newHashSetWithExpectedSize
Returns a new hash set using the smallest initial table size that can hold
expectedSizeelements with