Package org.openjdk.jmh.util
Class DelegatingMultimap<K,V>
java.lang.Object
org.openjdk.jmh.util.DelegatingMultimap<K,V>
- All Implemented Interfaces:
Serializable,Multimap<K,V>
- Direct Known Subclasses:
HashMultimap,HashsetMultimap,TreeMultimap
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clears the multimapprotected Collection<V>entrySet()Get all associations of the multimap.booleanGet all values associated with the keyinthashCode()booleanisEmpty()Checks if multimap is emptykeys()Keys in the mapvoidvoidPut the element pair.voidputAll(K key, Collection<V> vvs) Put multiple pairs.voidtoString()values()
-
Field Details
-
map
-
-
Constructor Details
-
DelegatingMultimap
-
-
Method Details
-
createValueCollection
-
put
Description copied from interface:MultimapPut the element pair. -
putAll
Description copied from interface:MultimapPut multiple pairs. -
get
Description copied from interface:MultimapGet all values associated with the key -
isEmpty
public boolean isEmpty()Description copied from interface:MultimapChecks if multimap is empty -
clear
public void clear()Description copied from interface:MultimapClears the multimap -
keys
Description copied from interface:MultimapKeys in the map -
values
-
entrySet
Description copied from interface:MultimapGet all associations of the multimap. The method is intended for read-only view. -
remove
-
merge
-
equals
-
hashCode
public int hashCode() -
toString
-