KEY - VALUE - public class IdentifiableValueMap<KEY,VALUE extends Identifiable<KEY>> extends HashMap<KEY,VALUE>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
IdentifiableValueMap() |
IdentifiableValueMap(int initialCapacity) |
IdentifiableValueMap(int initialCapacity,
float loadFactor) |
IdentifiableValueMap(Map<? extends KEY,? extends VALUE> m) |
| Modifier and Type | Method and Description |
|---|---|
void |
put(VALUE value) |
VALUE |
removeValue(Identifiable<KEY> value) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringpublic IdentifiableValueMap(int initialCapacity,
float loadFactor)
public IdentifiableValueMap(int initialCapacity)
public IdentifiableValueMap()
public void put(VALUE value) throws CouldNotPerformException
CouldNotPerformExceptionpublic VALUE removeValue(Identifiable<KEY> value) throws CouldNotPerformException
CouldNotPerformExceptionCopyright © 2015–2017 openbase.org. All rights reserved.