org.ujmp.core.collections
Class SerializedObjectMap<K,V>

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by org.ujmp.core.collections.AbstractMap<K,V>
          extended by org.ujmp.core.collections.AbstractDiskMap<K,V>
              extended by 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 Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
SerializedObjectMap()
           
SerializedObjectMap(boolean useGZip)
           
SerializedObjectMap(File path)
           
SerializedObjectMap(File path, boolean useGZip)
           
SerializedObjectMap(String path)
           
SerializedObjectMap(String path, boolean useGZip)
           
 
Method Summary
 V readValue(InputStream is)
           
 void writeValue(OutputStream os, V value)
           
 
Methods inherited from class org.ujmp.core.collections.AbstractDiskMap
clear, containsKey, erase, get, getPath, keySet, put, remove, setPath, size
 
Methods inherited from class org.ujmp.core.collections.AbstractMap
containsValue, entrySet, isEmpty, putAll, values
 
Methods inherited from class java.util.AbstractMap
clone, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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
Method Detail

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.