Uses of Class
com.google.common.collect.ImmutableSet.Builder
Packages that use ImmutableSet.Builder
Package
Description
Collection interfaces and implementations, and other utilities for collections.
-
Uses of ImmutableSet.Builder in com.google.common.collect
Subclasses of ImmutableSet.Builder in com.google.common.collectModifier and TypeClassDescriptionstatic final classA builder for creating immutable sorted set instances, especiallypublic static finalsets ("constant sets"), with a given comparator.Methods in com.google.common.collect that return ImmutableSet.BuilderModifier and TypeMethodDescriptionAdds each element ofelementsto theImmutableSet, ignoring duplicate elements (only the first duplicate element is added).static <E> ImmutableSet.Builder<E> ImmutableSet.builder()Returns a new builder.static <E> ImmutableSet.Builder<E> ImmutableSet.builderWithExpectedSize(int expectedSize) Returns a new builder, expecting the specified number of distinct elements to be added.