Package org.rspeer.commons
Class Multimap<K,V>
java.lang.Object
org.rspeer.commons.Multimap<K,V>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
boolean
containsKey
(K key) direct()
entrySet()
getOrDefault
(K key, Set<V> def) void
boolean
isEmpty()
keySet()
boolean
put
(K key, Collection<V> value) boolean
void
removeValueIf
(Predicate<V> test) replace
(K key, Collection<V> value) int
size()
valueSet()
-
Constructor Details
-
Multimap
-
Multimap
-
Multimap
public Multimap()
-
-
Method Details
-
put
-
put
-
entrySet
-
direct
-
clear
public void clear() -
containsKey
-
contains
-
get
-
getOrDefault
-
keySet
-
valueSet
-
size
public int size() -
isEmpty
public boolean isEmpty() -
remove
-
replace
-
ifPresent
-
removeValueIf
-