Uses of Class
com.google.common.collect.ImmutableSet.SetBuilderImpl
-
Packages that use ImmutableSet.SetBuilderImpl Package Description com.google.common.collect This package contains generic collection interfaces and implementations, and other utilities for working with collections. -
-
Uses of ImmutableSet.SetBuilderImpl in com.google.common.collect
Subclasses of ImmutableSet.SetBuilderImpl in com.google.common.collect Modifier and Type Class Description private static class
ImmutableSet.JdkBackedSetBuilderImpl<E>
SetBuilderImpl version that uses a JDK HashSet, which has built in hash flooding protection.private static class
ImmutableSet.RegularSetBuilderImpl<E>
Default 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.SetBuilderImpl Modifier and Type Field Description private ImmutableSet.SetBuilderImpl<E>
ImmutableSet.Builder. impl
Methods in com.google.common.collect that return ImmutableSet.SetBuilderImpl Modifier and Type Method Description (package private) ImmutableSet.SetBuilderImpl<E>
ImmutableSet.JdkBackedSetBuilderImpl. add(E e)
(package private) ImmutableSet.SetBuilderImpl<E>
ImmutableSet.RegularSetBuilderImpl. add(E e)
(package private) abstract ImmutableSet.SetBuilderImpl<E>
ImmutableSet.SetBuilderImpl. add(E e)
Adds e to this SetBuilderImpl, returning the updated result.(package private) 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.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.(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.SetBuilderImpl Modifier and Type Method Description (package private) 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.SetBuilderImpl Constructor Description JdkBackedSetBuilderImpl(ImmutableSet.SetBuilderImpl<E> toCopy)
SetBuilderImpl(ImmutableSet.SetBuilderImpl<E> toCopy)
Initializes this SetBuilderImpl with a copy of the deduped elements array from toCopy.
-