K
- the hash table key typeV
- the hash table value typepublic class MapDBHashTable<K,V> extends Object implements Map<K,V>
HTreeMap
from http://www.mapdb.org
http://www.mapdb.org/doc/quick-start/
http://www.mapdb.org/doc/htreemap/Modifier and Type | Class and Description |
---|---|
static class |
MapDBHashTable.Storage |
Modifier and Type | Field and Description |
---|---|
protected org.mapdb.DB |
db |
protected org.mapdb.HTreeMap<K,V> |
table |
Constructor and Description |
---|
MapDBHashTable(String name,
MapDBHashTable.Storage hashTableStorage) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,V>> |
entrySet() |
protected void |
finalize() |
V |
get(Object key) |
boolean |
isEmpty() |
Set<K> |
keySet() |
V |
put(K key,
V value) |
void |
putAll(Map<? extends K,? extends V> m) |
V |
remove(Object key) |
int |
size() |
Collection<V> |
values() |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public MapDBHashTable(String name, MapDBHashTable.Storage hashTableStorage)
protected void finalize() throws Throwable
public boolean containsKey(Object key)
containsKey
in interface Map<K,V>
public boolean containsValue(Object value)
containsValue
in interface Map<K,V>
Copyright © 2017–2018. All rights reserved.