Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and other utilities for
working with collections.
|
Modifier and Type | Method and Description |
---|---|
ImmutableList.Builder<E> |
ImmutableList.Builder.add(E... elements)
Adds each element of
elements to the ImmutableList . |
ImmutableList.Builder<E> |
ImmutableList.Builder.add(E element)
Adds
element to the ImmutableList . |
ImmutableList.Builder<E> |
ImmutableList.Builder.addAll(Iterable<? extends E> elements)
Adds each element of
elements to the ImmutableList . |
ImmutableList.Builder<E> |
ImmutableList.Builder.addAll(Iterator<? extends E> elements)
Adds each element of
elements to the ImmutableList . |
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.
|
Copyright © 2010–2017. All rights reserved.