public interface BlockingMap<K,V>
| Modifier and Type | Method and Description |
|---|---|
V |
addElementAt(K key,
V value,
int index) |
void |
clear() |
void |
clear(K key) |
boolean |
containsKey(K key) |
Collection<V> |
elements(K key) |
V |
getAndWait(K key) |
V |
getAndWait(K key,
long timeout) |
V |
getElement(K key,
int index) |
int |
indexOf(K key,
V value) |
Set<K> |
keySet() |
V |
lastAndWait(K key) |
V |
lastAndWait(K key,
long timeout) |
int |
lastIndexOf(K key,
V value) |
V |
pollFirst(K key) |
V |
pollLast(K key) |
V |
put(K key,
V value) |
void |
putFirst(K key,
Collection<V> elements) |
void |
putLast(K key,
Collection<V> elements) |
V |
remove(K key,
int index) |
void |
replaceValues(K key,
Collection<V> newElements) |
int |
size() |
int |
size(K key) |
V getAndWait(K key) throws InterruptedException
InterruptedExceptionV getAndWait(K key, long timeout) throws InterruptedException
InterruptedExceptionV lastAndWait(K key) throws InterruptedException
InterruptedExceptionV lastAndWait(K key, long timeout) throws InterruptedException
InterruptedExceptionvoid putLast(K key, Collection<V> elements)
void putFirst(K key, Collection<V> elements)
int size(K key)
Collection<V> elements(K key)
boolean containsKey(K key)
void clear(K key)
void replaceValues(K key, Collection<V> newElements)
int size()
void clear()
Copyright © 2016. All Rights Reserved.