- emptyIfNull
Returns an immutable empty set if the argument is null, or the argument itself
otherwise.
- difference
Returns a unmodifiable view containing the difference of the given Sets, denoted
by a \ b (or a - b)
- union
Returns a unmodifiable view of the union of the given Sets. The returned view
contains all elements
- newIdentityHashSet
Returns a new hash set that matches elements based on == notequals().This set will violate the detai
- unmodifiableSet
Returns an unmodifiable set backed by the given set. This method uses the
implementation in the deco
- isEqualSet
Tests two sets for equality as per the equals() contract in
java.util.Set#equals(java.lang.Object).