Package zmq.util
Class MultiMap<K extends java.lang.Comparable<? super K>,V>
- java.lang.Object
-
- zmq.util.MultiMap<K,V>
-
public final class MultiMap<K extends java.lang.Comparable<? super K>,V> extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private class
MultiMap.EntryComparator
-
Constructor Summary
Constructors Constructor Description MultiMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
clear()
boolean
contains(V value)
java.util.Collection<java.util.Map.Entry<V,K>>
entries()
V
find(V copy)
private java.util.List<V>
getValues(K key)
boolean
hasValues(K key)
boolean
insert(K key, V value)
boolean
isEmpty()
K
key(V value)
java.util.Collection<V>
remove(K key)
boolean
remove(K key, V value)
boolean
remove(V value)
private boolean
removeData(K key, V value)
java.lang.String
toString()
java.util.Collection<V>
values()
Deprecated.
-
-
-
Method Detail
-
clear
public void clear()
-
values
@Deprecated public java.util.Collection<V> values()
Deprecated.
-
contains
public boolean contains(V value)
-
hasValues
public boolean hasValues(K key)
-
isEmpty
public boolean isEmpty()
-
remove
public boolean remove(V value)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-