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 classMultiMap.EntryComparator
-
Constructor Summary
Constructors Constructor Description MultiMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclear()booleancontains(V value)java.util.Collection<java.util.Map.Entry<V,K>>entries()Vfind(V copy)private java.util.List<V>getValues(K key)booleanhasValues(K key)booleaninsert(K key, V value)booleanisEmpty()Kkey(V value)java.util.Collection<V>remove(K key)booleanremove(K key, V value)booleanremove(V value)private booleanremoveData(K key, V value)java.lang.StringtoString()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:
toStringin classjava.lang.Object
-
-