public class PersistentMap<V> extends AbstractMap<String,V> implements Closeable
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
PersistentMap(File dir,
Class<V> type) |
PersistentMap(File dir,
Class<V> type,
Map<String,V> map) |
PersistentMap(File dir,
Type type) |
PersistentMap(File dir,
Type type,
Map<String,V> map) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
close() |
Set<Map.Entry<String,V>> |
entrySet() |
Set<String> |
keySet() |
V |
put(String key,
V value) |
V |
remove(String key) |
String |
toString() |
clone, containsKey, containsValue, equals, get, hashCode, isEmpty, putAll, remove, size, valuespublic PersistentMap(File dir, Type type) throws IOException
IOExceptionpublic PersistentMap(File dir, Class<V> type) throws IOException
IOExceptionpublic PersistentMap(File dir, Class<V> type, Map<String,V> map) throws IOException
IOExceptionpublic PersistentMap(File dir, Type type, Map<String,V> map) throws IOException
IOExceptionpublic void clear()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic String toString()
toString in class AbstractMap<String,V>Copyright © 2014 aQute SARL. All rights reserved.