Uses of Class
com.google.common.collect.ImmutableCollection.Builder
-
Packages that use ImmutableCollection.Builder Package Description com.google.common.collect Collection interfaces and implementations, and other utilities for 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 classImmutableList.Builder<E>A builder for creating immutable list instances, especiallypublic static finallists ("constant lists").static classImmutableMultiset.Builder<E>A builder for creating immutable multiset instances, especiallypublic static finalmultisets ("constant multisets").static classImmutableSet.Builder<E>A builder for creatingImmutableSetinstances.static classImmutableSortedMultiset.Builder<E>A builder for creating immutable multiset instances, especiallypublic static finalmultisets ("constant multisets").static classImmutableSortedSet.Builder<E>A builder for creating immutable sorted set instances, especiallypublic static finalsets ("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)Addselementto theImmutableCollectionbeing built.ImmutableCollection.Builder<E>ImmutableCollection.Builder. add(E... elements)Adds each element ofelementsto theImmutableCollectionbeing built.ImmutableCollection.Builder<E>ImmutableCollection.Builder. addAll(java.lang.Iterable<? extends E> elements)Adds each element ofelementsto theImmutableCollectionbeing built.ImmutableCollection.Builder<E>ImmutableCollection.Builder. addAll(java.util.Iterator<? extends E> elements)Adds each element ofelementsto theImmutableCollectionbeing built.
-