Uses of Class
com.google.common.collect.ImmutableList.Builder
-
Packages that use ImmutableList.Builder Package Description com.google.common.collect Collection interfaces and implementations, and other utilities for collections. -
-
Uses of ImmutableList.Builder in com.google.common.collect
Methods in com.google.common.collect that return ImmutableList.Builder Modifier and Type Method Description ImmutableList.Builder<E>
ImmutableList.Builder. add(E element)
Addselement
to theImmutableList
.ImmutableList.Builder<E>
ImmutableList.Builder. add(E... elements)
Adds each element ofelements
to theImmutableList
.ImmutableList.Builder<E>
ImmutableList.Builder. addAll(Iterable<? extends E> elements)
Adds each element ofelements
to theImmutableList
.ImmutableList.Builder<E>
ImmutableList.Builder. addAll(Iterator<? extends E> elements)
Adds each element ofelements
to theImmutableList
.static <E> ImmutableList.Builder<E>
ImmutableList. builder()
Returns a new builder.static <E> ImmutableList.Builder<E>
ImmutableList. builderWithExpectedSize(int expectedSize)
Returns a new builder, expecting the specified number of elements to be added.
-