keySet() 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 boolean | contains(Object
element whose presence in this set is to be tested object)Implements abstract com. Implements java. true if this set contains the specified element.
|
| public void | forEach(Consumer<? super K>
The action to be performed for each element action)Overrides com. Overrides default java. Iterable
until all elements have been processed or the action throws an
exception.
|
| pack-priv K | |
| 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()
Overrides 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 set.
|
| map | back to summary |
|---|---|
| private final ImmutableMap<K, V> map | |
| ImmutableMapKeySet | back to summary |
|---|---|
| pack-priv ImmutableMapKeySet(ImmutableMap<K, V> map) | |
| 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 K> action) Overrides com. 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. | |
| get | back to summary |
|---|---|
| pack-priv K get(int index) Implements abstract com.
| |
| isPartialView | back to summary |
|---|---|
| pack-priv boolean isPartialView() Implements abstract com. Doc from com. Returns
| |
| iterator | back to summary |
|---|---|
| public UnmodifiableIterator Overrides com. Implements java. Doc from java. Returns an iterator over the elements in this set. The elements are returned in no particular order (unless this set is an instance of some class that provides a guarantee).
| |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this set (its cardinality). If this
set contains more than
| |
| spliterator | back to summary |
|---|---|
| public Spliterator Overrides com. Overrides default java. Doc from java. Creates a The
| |
| 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<K, ?> map | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| KeySetSerializedForm | back to summary |
|---|---|
| pack-priv KeySetSerializedForm(ImmutableMap<K, ?> map) | |
| readResolve | back to summary |
|---|---|
| pack-priv Object readResolve() | |