public class PersistentMapDecorator extends Properties
defaults
Constructor and Description |
---|
PersistentMapDecorator(Map<Object,Object> delegate)
Creates a new decorator for a given map.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<Object,Object>> |
entrySet() |
boolean |
equals(Object obj) |
Object |
get(Object key) |
int |
hashCode() |
boolean |
isEmpty() |
Set<Object> |
keySet() |
Object |
put(Object arg0,
Object arg1) |
void |
putAll(Map<?,?> arg0) |
Object |
remove(Object key) |
int |
size() |
String |
toString() |
Collection<Object> |
values() |
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
clone, compute, computeIfAbsent, computeIfPresent, contains, elements, forEach, getOrDefault, keys, merge, putIfAbsent, rehash, remove, replace, replace, replaceAll
public PersistentMapDecorator(Map<Object,Object> delegate)
delegate
- The map to create a decorator for.public void clear()
public boolean containsKey(Object key)
containsKey
in interface Map<Object,Object>
containsKey
in class Hashtable<Object,Object>
public boolean containsValue(Object value)
containsValue
in interface Map<Object,Object>
containsValue
in class Hashtable<Object,Object>
public int hashCode()
public boolean isEmpty()
public int size()
Copyright © 2001-2019 The Apache Software Foundation. All rights reserved.