Uses of Class
com.google.common.collect.ImmutableSet.SetBuilderImpl
Packages that use ImmutableSet.SetBuilderImpl
Package
Description
Collection interfaces and implementations, and other utilities for collections.
-
Uses of ImmutableSet.SetBuilderImpl in com.google.common.collect
Subclasses of ImmutableSet.SetBuilderImpl in com.google.common.collectModifier and TypeClassDescriptionprivate static final classprivate static final classSetBuilderImpl version that uses a JDK HashSet, which has built in hash flooding protection.private static final classDefault implementation of the guts of ImmutableSet.Builder, creating an open-addressed hash table and deduplicating elements as they come, so it only allocates O(max(distinct, expectedCapacity)) rather than O(calls to add).Fields in com.google.common.collect declared as ImmutableSet.SetBuilderImplModifier and TypeFieldDescriptionprivate ImmutableSet.SetBuilderImpl<E> ImmutableSet.Builder.implMethods in com.google.common.collect that return ImmutableSet.SetBuilderImplModifier and TypeMethodDescription(package private) ImmutableSet.SetBuilderImpl<E> (package private) ImmutableSet.SetBuilderImpl<E> (package private) ImmutableSet.SetBuilderImpl<E> (package private) abstract ImmutableSet.SetBuilderImpl<E> Adds e to this SetBuilderImpl, returning the updated result.(package private) final ImmutableSet.SetBuilderImpl<E> ImmutableSet.SetBuilderImpl.combine(ImmutableSet.SetBuilderImpl<E> other) Adds all the elements from the specified SetBuilderImpl to this SetBuilderImpl.(package private) ImmutableSet.SetBuilderImpl<E> ImmutableSet.EmptySetBuilderImpl.copy()(package private) ImmutableSet.SetBuilderImpl<E> ImmutableSet.JdkBackedSetBuilderImpl.copy()(package private) ImmutableSet.SetBuilderImpl<E> ImmutableSet.RegularSetBuilderImpl.copy()(package private) abstract ImmutableSet.SetBuilderImpl<E> ImmutableSet.SetBuilderImpl.copy()Creates a new copy of this SetBuilderImpl.private ImmutableSet.SetBuilderImpl<E> ImmutableSet.RegularSetBuilderImpl.insertInHashTable(E e) (package private) static <E> ImmutableSet.SetBuilderImpl<E> ImmutableSet.EmptySetBuilderImpl.instance()(package private) ImmutableSet.SetBuilderImpl<E> ImmutableSet.RegularSetBuilderImpl.review()(package private) ImmutableSet.SetBuilderImpl<E> ImmutableSet.SetBuilderImpl.review()Call this before build().Methods in com.google.common.collect with parameters of type ImmutableSet.SetBuilderImplModifier and TypeMethodDescription(package private) final ImmutableSet.SetBuilderImpl<E> ImmutableSet.SetBuilderImpl.combine(ImmutableSet.SetBuilderImpl<E> other) Adds all the elements from the specified SetBuilderImpl to this SetBuilderImpl.Constructors in com.google.common.collect with parameters of type ImmutableSet.SetBuilderImplModifierConstructorDescription(package private)(package private)SetBuilderImpl(ImmutableSet.SetBuilderImpl<E> toCopy) Initializes this SetBuilderImpl with a copy of the deduped elements array from toCopy.