values() implementation for ImmutableMap.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ImmutableMap |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public ImmutableList | asList()
Overrides com. ImmutableList containing the same elements, in the same order, as this
collection.
|
| public boolean | contains(Object
element whose presence in this collection is to be tested object)Implements abstract com. Implements java. true if this collection contains the specified element.
|
| public void | forEach(Consumer<? super V>
The action to be performed for each element action)Overrides default java. Iterable
until all elements have been processed or the action throws an
exception.
|
| pack-priv boolean | isPartialView()
Implements abstract com. true if this immutable collection's implementation contains references to
user-created objects that aren't accessible via this collection's methods.
|
| public UnmodifiableIterator | iterator()
Implements abstract com. Implements java. |
| public int | size()
Implements abstract java. Implements java. |
| public Spliterator | spliterator()
Overrides com. Overrides default java. Spliterator over the elements in this collection.
|
| pack-priv Object |
| map | back to summary |
|---|---|
| private final ImmutableMap<K, V> map | |
| ImmutableMapValues | back to summary |
|---|---|
| pack-priv ImmutableMapValues(ImmutableMap<K, V> map) | |
| asList | back to summary |
|---|---|
| public ImmutableList Overrides com. Doc from com. Returns an Performance note: in most cases this method can return quickly without actually copying anything. The exact circumstances under which the copy is performed are undefined and subject to change.
| |
| contains | back to summary |
|---|---|
| public boolean contains(Object object) Implements abstract com. Implements java. Doc from java. Returns
| |
| forEach | back to summary |
|---|---|
| public void forEach(Consumer<? super V> action) Overrides default java. Doc from java. Performs the given action for each element of the The behavior of this method is unspecified if the action performs side-effects that modify the underlying source of elements, unless an overriding class has specified a concurrent modification policy.
| |
| isPartialView | back to summary |
|---|---|
| pack-priv boolean isPartialView() Implements abstract com. Doc from com. Returns
| |
| iterator | back to summary |
|---|---|
| public UnmodifiableIterator Implements abstract com. Implements java. Doc from com. Returns an unmodifiable iterator across the elements in this collection.
| |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this collection. If this collection
contains more than
| |
| spliterator | back to summary |
|---|---|
| public Spliterator Overrides com. Overrides default java. Doc from java. Creates a The default implementation should be overridden by subclasses that
can return a more efficient spliterator. In order to
preserve expected laziness behavior for the
These requirements ensure that streams produced by the
| |
| writeReplace | back to summary |
|---|---|
| pack-priv Object writeReplace() Overrides com.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final ImmutableMap | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv Object |
| map | back to summary |
|---|---|
| pack-priv final ImmutableMap<?, V> map | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| SerializedForm | back to summary |
|---|---|
| pack-priv SerializedForm(ImmutableMap<?, V> map) | |
| readResolve | back to summary |
|---|---|
| pack-priv Object readResolve() | |