Package de.bsvrz.sys.funclib.losb
Class IDMap<K,V>
java.lang.Object
de.bsvrz.sys.funclib.losb.IDMap<K,V>
- All Implemented Interfaces:
Map<K,
V>
Map fuer das Mapping von Objekt-IDs auf Objekte. Wird im DataIdentTree benutzt. Erlaubt die Implementierung eigener Hashing-Strategien in
Abhaengigkeit von der Map-Groesse.
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
IDMap
public IDMap()Erzeugt eine neue IDMap.
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKey
in interfaceMap<K,
V>
-
containsValue
- Specified by:
containsValue
in interfaceMap<K,
V>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-
getCopy
Liefert eine Kopie der Map alsHashMap
. Erstellung der Kopie ist threadsafe.- Returns:
- Map-Kopie
-