Package org.pgpainless.util
Class MultiMap<K,V>
java.lang.Object
org.pgpainless.util.MultiMap<K,V>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
containsKey
(K o) boolean
containsValue
(V o) entrySet()
boolean
flatten()
Return all values of theMultiMap
in a singleLinkedHashSet
.int
hashCode()
boolean
isEmpty()
keySet()
void
void
void
void
void
int
size()
Collection
<Set<V>> values()
-
Constructor Details
-
MultiMap
public MultiMap() -
MultiMap
-
MultiMap
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
-
containsValue
-
get
-
put
-
put
-
removeAll
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-
flatten
Return all values of theMultiMap
in a singleLinkedHashSet
.- Returns:
- set of all values
-
equals
-
hashCode
public int hashCode()
-