K - Class of key.E - Class of element.public class WeakMap<K,E> extends WeakCollectionBase<E> implements Map<K,E>
| Constructor and Description |
|---|
WeakMap() |
WeakMap(WeakMap<K,E> source)
Copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,E>> |
entrySet() |
E |
get(Object key) |
boolean |
isEmpty() |
Set<K> |
keySet() |
E |
put(K key,
E value) |
void |
putAll(Map<? extends K,? extends E> map) |
E |
remove(Object key) |
protected void |
removeReference(Reference<? extends E> reference) |
int |
size()
Returns the size of the underlying list.
|
Collection<E> |
values() |
cast, compact, contains, createWeakReference, getIterator, getReferentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic int size()
public boolean containsKey(Object key)
containsKey in interface Map<K,E>public boolean containsValue(Object value)
containsValue in interface Map<K,E>protected void removeReference(Reference<? extends E> reference)
removeReference in class WeakCollectionBase<E>Copyright © 2017 Regenstrief Center for Biomedical Informatics. All rights reserved.