org.ujmp.core.collections
Class SerializedObjectMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
org.ujmp.core.collections.AbstractMap<K,V>
org.ujmp.core.collections.AbstractDiskMap<K,V>
org.ujmp.core.collections.SerializedObjectMap<K,V>
- All Implemented Interfaces:
- Serializable, Map<K,V>, Erasable
public class SerializedObjectMap<K,V>
- extends AbstractDiskMap<K,V>
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
SerializedObjectMap
public SerializedObjectMap()
throws IOException
- Throws:
IOException
SerializedObjectMap
public SerializedObjectMap(String path)
throws IOException
- Throws:
IOException
SerializedObjectMap
public SerializedObjectMap(boolean useGZip)
throws IOException
- Throws:
IOException
SerializedObjectMap
public SerializedObjectMap(String path,
boolean useGZip)
throws IOException
- Throws:
IOException
SerializedObjectMap
public SerializedObjectMap(File path)
throws IOException
- Throws:
IOException
SerializedObjectMap
public SerializedObjectMap(File path,
boolean useGZip)
throws IOException
- Throws:
IOException
writeValue
public final void writeValue(OutputStream os,
V value)
- Specified by:
writeValue
in class AbstractDiskMap<K,V>
readValue
public V readValue(InputStream is)
- Specified by:
readValue
in class AbstractDiskMap<K,V>
Copyright © 2010. All Rights Reserved.