Interface Multimap<K,V>
- All Known Subinterfaces:
ListMultimap<K,
,V> ListMultimap.Mutable<K,
,V> Multimap.Mutable<K,
V>
- All Known Implementing Classes:
ArrayListMultimap
,ClassInheritanceMultimap
public interface Multimap<K,V>
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets thecollection
of paired values for the providedkey
.boolean
isEmpty()
int
size()
-
Method Details
-
isEmpty
boolean isEmpty() -
size
int size() -
get
Gets thecollection
of paired values for the providedkey
. It is expected that regardless whether akey
has any valus matched, the returnedcollection
is nevernull
but possiblyempty
.- Parameters:
key
- The key- Returns:
- The collection of values
-