Multimaps#filterKeys(Multimap, Predicate).
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | |
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Predicate | |
| pack-priv final Multimap |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | clear()
Implements com. |
| public boolean | containsKey(Object key)
Implements com. true if this multimap contains at least one key-value pair with the key key.
|
| pack-priv Map | |
| pack-priv Collection | |
| pack-priv Multiset | |
| pack-priv Set | |
| pack-priv Collection | |
| pack-priv Iterator | |
| public Predicate | |
| public Collection | get(K key)
Implements com. key in this multimap, if any.
|
| public Collection | removeAll(Object key)
Implements com. key.
|
| public int | size()
Implements com. |
| public Multimap | |
| pack-priv Collection |
| keyPredicate | back to summary |
|---|---|
| pack-priv final Predicate<? super K> keyPredicate | |
| unfiltered | back to summary |
|---|---|
| pack-priv final Multimap<K, V> unfiltered | |
| FilteredKeyMultimap | back to summary |
|---|---|
| pack-priv FilteredKeyMultimap(Multimap<K, V> unfiltered, Predicate<? super K> keyPredicate) | |
| clear | back to summary |
|---|---|
| public void clear() Implements com. Doc from com. Removes all key-value pairs from the multimap, leaving it empty.
| |
| containsKey | back to summary |
|---|---|
| public boolean containsKey(Object key) Implements com. Doc from com. Returns
| |
| createAsMap | back to summary |
|---|---|
| pack-priv Map Implements abstract com.
| |
| createEntries | back to summary |
|---|---|
| pack-priv Collection Implements abstract com.
| |
| createKeys | back to summary |
|---|---|
| pack-priv Multiset Implements abstract com.
| |
| createKeySet | back to summary |
|---|---|
| pack-priv Set Implements abstract com.
| |
| createValues | back to summary |
|---|---|
| pack-priv Collection Implements abstract com.
| |
| entryIterator | back to summary |
|---|---|
| pack-priv Iterator Implements abstract com.
| |
| entryPredicate | back to summary |
|---|---|
| public Predicate Implements com.
| |
| get | back to summary |
|---|---|
| public Collection Implements com. Doc from com. Returns a view collection of the values associated with Changes to the returned collection will update the underlying multimap, and vice versa.
| |
| removeAll | back to summary |
|---|---|
| public Collection Implements com. Doc from com. Removes all values associated with the key Once this method returns,
| |
| size | back to summary |
|---|---|
| public int size() Implements com. Doc from com. Returns the number of key-value pairs in this multimap. Note this method does not return the number of distinct keys in the multimap,
which is given by
| |
| unfiltered | back to summary |
|---|---|
| public Multimap Implements com.
| |
| unmodifiableEmptyCollection | back to summary |
|---|---|
| pack-priv Collection | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final K |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | add(V
element to be appended to this list v)Overrides com. Implements java. |
| public void | add(int
index at which the specified element is to be inserted index, V element to be inserted element)Overrides com. Implements java. |
| public boolean | addAll(Collection<? extends V>
collection containing elements to be added to this list collection)Overrides com. Implements java. |
| public boolean | addAll(int
index at which to insert the first element from the
specified collection index, Collection<? extends V> collection containing elements to be added to this list elements)Overrides com. Implements java. |
| protected List | delegate()
Implements abstract com. |
| key | back to summary |
|---|---|
| pack-priv final K key
| |
| AddRejectingList | back to summary |
|---|---|
| pack-priv AddRejectingList(K key) | |
| add | back to summary |
|---|---|
| public boolean add(V v) Overrides com. Implements java. Doc from java. Appends the specified element to the end of this list (optional operation). Lists that support this operation may place limitations on what elements may be added to this list. In particular, some lists will refuse to add null elements, and others will impose restrictions on the type of elements that may be added. List classes should clearly specify in their documentation any restrictions on what elements may be added.
| |
| add | back to summary |
|---|---|
| public void add(int index, V element) Overrides com. Implements java. Doc from java. Inserts the specified element at the specified position in this list (optional operation). Shifts the element currently at that position (if any) and any subsequent elements to the right (adds one to their indices).
| |
| addAll | back to summary |
|---|---|
| public boolean addAll(Collection<? extends V> collection) Overrides com. Implements java. Doc from java. Appends all of the elements in the specified collection to the end of this list, in the order that they are returned by the specified collection's iterator (optional operation). The behavior of this operation is undefined if the specified collection is modified while the operation is in progress. (Note that this will occur if the specified collection is this list, and it's nonempty.)
| |
| addAll | back to summary |
|---|---|
| public boolean addAll(int index, Collection<? extends V> elements) Overrides com. Implements java. Doc from java. Inserts all of the elements in the specified collection into this list at the specified position (optional operation). Shifts the element currently at that position (if any) and any subsequent elements to the right (increases their indices). The new elements will appear in this list in the order that they are returned by the specified collection's iterator. The behavior of this operation is undefined if the specified collection is modified while the operation is in progress. (Note that this will occur if the specified collection is this list, and it's nonempty.)
| |
| delegate | back to summary |
|---|---|
| protected List Implements abstract com. Doc from com. Returns the backing delegate instance that methods are forwarded to. Abstract subclasses
generally override this method with an abstract method that has a more specific return type,
such as
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final K |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | add(V
element to be added to this set element)Overrides com. Implements java. |
| public boolean | addAll(Collection<? extends V>
collection containing elements to be added to this set collection)Overrides com. Implements java. |
| protected Set | delegate()
Implements abstract com. |
| key | back to summary |
|---|---|
| pack-priv final K key
| |
| AddRejectingSet | back to summary |
|---|---|
| pack-priv AddRejectingSet(K key) | |
| add | back to summary |
|---|---|
| public boolean add(V element) Overrides com. Implements java. Doc from java. Adds the specified element to this set if it is not already present
(optional operation). More formally, adds the specified element
The stipulation above does not imply that sets must accept all
elements; sets may refuse to add any particular element, including
| |
| addAll | back to summary |
|---|---|
| public boolean addAll(Collection<? extends V> collection) Overrides com. Implements java. Doc from java. Adds all of the elements in the specified collection to this set if
they're not already present (optional operation). If the specified
collection is also a set, the
| |
| delegate | back to summary |
|---|---|
| protected Set Implements abstract com. Doc from com. Returns the backing delegate instance that methods are forwarded to. Abstract subclasses
generally override this method with an abstract method that has a more specific return type,
such as
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected Collection | delegate()
Implements abstract com. |
| public boolean | remove(Object
element to be removed from this collection, if present o)Overrides com. Implements java. |
| Entries | back to summary |
|---|---|
| pack-priv Entries() | |
| delegate | back to summary |
|---|---|
| protected Collection Implements abstract com. Doc from com. Returns the backing delegate instance that methods are forwarded to. Abstract subclasses
generally override this method with an abstract method that has a more specific return type,
such as
| |
| remove | back to summary |
|---|---|
| public boolean remove(Object o) Overrides com. Implements java. Doc from java. Removes a single instance of the specified element from this
collection, if it is present (optional operation). More formally,
removes an element
| |