-
ImmutableSet.copyOf(E[] array)
Returns a new ImmutableSet containing all of the distinct elements
in the specified array.
Returns the specified iterable if it is an ImmutableSet; returns
a new ImmutableSet containing all of the distinct elements returned
by the specified iterable's iterator.
Returns a new ImmutableSet instance containing all of the distinct
elements returned by the specified iterator.
Returns the empty ImmutableSet.
ImmutableSet.of(E element)
Returns a new ImmutableSet containing one element.
ImmutableSet.of(E first,
E... more)
Returns a new ImmutableSet containing all of the distinct
specified elements.