public static class MultivaluedMapImpl.SynchronizedMultivaluedMap<Key,Value> extends Object implements MultivaluedMap<Key,Value>
Constructor and Description |
---|
SynchronizedMultivaluedMap(MultivaluedMap<Key,Value> m) |
Modifier and Type | Method and Description |
---|---|
void |
add(Key key,
Value value) |
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<Key,Set<Value>>> |
entrySet() |
Set<Value> |
get(Object key) |
Set<Value> |
getCopy(Key key) |
boolean |
isEmpty() |
Set<Key> |
keySet() |
Set<Value> |
put(Key key,
Set<Value> value) |
void |
putAll(Map<? extends Key,? extends Set<Value>> t) |
Set<Value> |
remove(Object key) |
boolean |
remove(Object key,
Object value) |
int |
size() |
Collection<Set<Value>> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, replace, replace, replaceAll
public SynchronizedMultivaluedMap(MultivaluedMap<Key,Value> m)
public Set<Value> getCopy(Key key)
getCopy
in interface MultivaluedMap<Key,Value>
public boolean containsKey(Object key)
containsKey
in interface Map<Key,Set<Value>>
public boolean containsValue(Object value)
containsValue
in interface Map<Key,Set<Value>>
Copyright © 2018. All rights reserved.