Example usage for Java com.google.common.collect SortedSetMultimap fields, constructors, methods, implement or subclass
The text is from its open source code.
Map | asMap() Returns a map view that associates each key with the corresponding values in the multimap. |
boolean | containsKey(@Nullable Object key) Returns true if this multimap contains at least one key-value pair with the key key . |
Set | entries() Because a SetMultimap has unique values for a given key, this method returns a Set , instead of the java.util.Collection specified in the Multimap interface. |
SortedSet | get(@Nullable K key) Returns a collection view of all values associated with a key. |
boolean | isEmpty() Returns true if this multimap contains no key-value pairs. |
Multiset | keys() Returns a view collection containing the key from each key-value pair in this multimap, without collapsing duplicates. |
Set | keySet() Returns a view collection of all distinct keys contained in this multimap. |
boolean | put(@Nullable K key, @Nullable V value) Stores a key-value pair in this multimap. |
boolean | putAll(@Nullable K key, Iterable extends V> values) Stores a key-value pair in this multimap for each of values , all using the same key, key . |
boolean | remove(@Nullable Object key, @Nullable Object value) Removes a single key-value pair with the key key and the value value from this multimap, if such exists. |
SortedSet | removeAll(@Nullable Object key) Removes all values associated with a given key. |
Collection | values() Returns a view collection containing the value from each key-value pair contained in this multimap, without collapsing duplicates (so values().size() == size() ). |