Package org.ujmp.core.collections.map
Class SerializedObjectMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
org.ujmp.core.collections.map.AbstractMap<K,V>
org.ujmp.core.collections.map.AbstractDiskMap<K,V>
org.ujmp.core.collections.map.SerializedObjectMap<K,V>
- All Implemented Interfaces:
Serializable
,Map<K,
,V> Erasable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSerializedObjectMap
(boolean useGZip) SerializedObjectMap
(File path) SerializedObjectMap
(File path, boolean useGZip) SerializedObjectMap
(String path) SerializedObjectMap
(String path, boolean useGZip) -
Method Summary
Modifier and TypeMethodDescriptionreadValue
(InputStream is) final void
writeValue
(OutputStream os, V value) Methods inherited from class org.ujmp.core.collections.map.AbstractDiskMap
clear, containsKey, erase, get, getPath, keySet, put, remove, setPath, size
Methods inherited from class org.ujmp.core.collections.map.AbstractMap
beforeReadObject, beforeWriteObject, containsValue, entrySet, get, getAsString, isEmpty, putAll, toString, values
Methods inherited from class java.util.AbstractMap
clone, equals, hashCode
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
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
SerializedObjectMap
- Throws:
IOException
-
SerializedObjectMap
- Throws:
IOException
-
SerializedObjectMap
- Throws:
IOException
-
SerializedObjectMap
- Throws:
IOException
-
SerializedObjectMap
- Throws:
IOException
-
SerializedObjectMap
- Throws:
IOException
-
-
Method Details
-
writeValue
- Specified by:
writeValue
in classAbstractDiskMap<K,
V>
-
readValue
- Specified by:
readValue
in classAbstractDiskMap<K,
V>
-