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 TypeMethodDescriptionvoid
clear()
Clears the multimapprotected Collection
<V> entrySet()
Get all associations of the multimap.boolean
Get all values associated with the keyint
hashCode()
boolean
isEmpty()
Checks if multimap is emptykeys()
Keys in the mapvoid
void
Put the element pair.void
putAll
(K key, Collection<V> vvs) Put multiple pairs.void
toString()
values()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
map
-
-
Constructor Details
-
DelegatingMultimap
-
-
Method Details
-
createValueCollection
-
put
Description copied from interface:Multimap
Put the element pair. -
putAll
Description copied from interface:Multimap
Put multiple pairs. -
get
Description copied from interface:Multimap
Get all values associated with the key -
isEmpty
public boolean isEmpty()Description copied from interface:Multimap
Checks if multimap is empty -
clear
public void clear()Description copied from interface:Multimap
Clears the multimap -
keys
Description copied from interface:Multimap
Keys in the map -
values
-
entrySet
Description copied from interface:Multimap
Get all associations of the multimap. The method is intended for read-only view. -
remove
-
merge
-
equals
-
hashCode
public int hashCode() -
toString
-