Class XmlMap
java.lang.Object
java.util.AbstractMap
com.thoughtworks.xstream.persistence.XmlMap
- All Implemented Interfaces:
Map
A persistent map. Its values are actually serialized as xml files. If you
need an application-wide synchronized version of this map, try the respective
Collections methods.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, toString, values
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
persistenceStrategy
-
-
Constructor Details
-
XmlMap
-
-
Method Details
-
size
public int size()- Specified by:
size
in interfaceMap
- Overrides:
size
in classAbstractMap
-
get
- Specified by:
get
in interfaceMap
- Overrides:
get
in classAbstractMap
-
put
- Specified by:
put
in interfaceMap
- Overrides:
put
in classAbstractMap
-
remove
- Specified by:
remove
in interfaceMap
- Overrides:
remove
in classAbstractMap
-
entrySet
- Specified by:
entrySet
in interfaceMap
- Specified by:
entrySet
in classAbstractMap
-