Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and
other utilities for working with collections.
|
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableList.Builder<E>
A builder for creating immutable list instances, especially
public
static final lists ("constant lists"). |
static class |
ImmutableSet.Builder<E>
A builder for creating
ImmutableSet instances. |
static class |
ImmutableSortedSet.Builder<E>
A builder for creating immutable sorted set instances, especially
public static final sets ("constant sets"), with a given comparator. |
Modifier and Type | Method and Description |
---|---|
ImmutableCollection.ArrayBasedBuilder<E> |
ImmutableCollection.ArrayBasedBuilder.add(E element) |