Uses of Class
com.google.common.collect.ImmutableCollection.Builder
-
Packages that use ImmutableCollection.Builder Package Description com.google.common.collect This package contains generic collection interfaces and implementations, and other utilities for working with collections. -
-
Uses of ImmutableCollection.Builder in com.google.common.collect
Subclasses of ImmutableCollection.Builder in com.google.common.collect Modifier and Type Class Description static class
ImmutableList.Builder<E>
A builder for creating immutable list instances, especiallypublic static final
lists ("constant lists").static class
ImmutableMultiset.Builder<E>
A builder for creating immutable multiset instances, especiallypublic static final
multisets ("constant multisets").static class
ImmutableSet.Builder<E>
A builder for creatingImmutableSet
instances.static class
ImmutableSortedMultiset.Builder<E>
A builder for creating immutable multiset instances, especiallypublic static final
multisets ("constant multisets").static class
ImmutableSortedSet.Builder<E>
A builder for creating immutable sorted set instances, especiallypublic static final
sets ("constant sets"), with a given comparator.Methods in com.google.common.collect that return ImmutableCollection.Builder Modifier and Type Method Description abstract ImmutableCollection.Builder<E>
ImmutableCollection.Builder. add(E element)
Addselement
to theImmutableCollection
being built.ImmutableCollection.Builder<E>
ImmutableCollection.Builder. add(E... elements)
Adds each element ofelements
to theImmutableCollection
being built.ImmutableCollection.Builder<E>
ImmutableCollection.Builder. addAll(Iterable<? extends E> elements)
Adds each element ofelements
to theImmutableCollection
being built.ImmutableCollection.Builder<E>
ImmutableCollection.Builder. addAll(Iterator<? extends E> elements)
Adds each element ofelements
to theImmutableCollection
being built.
-