com.jme.util.export
Class StringBoolMap

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<java.lang.String,V>
          extended by com.jme.util.export.AbstractStringKeyMap<java.lang.Boolean>
              extended by com.jme.util.export.StringBoolMap
All Implemented Interfaces:
Savable, java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Boolean>

public class StringBoolMap
extends AbstractStringKeyMap<java.lang.Boolean>

A Savable String-to-Boolean map.

See Also:
Serialized Form

Field Summary
(package private) static long serialVersionUID
           
 
Fields inherited from class com.jme.util.export.AbstractStringKeyMap
unsavedKeys
 
Constructor Summary
StringBoolMap()
           
StringBoolMap(int initialCapacity)
           
StringBoolMap(int initialCapacity, float loadFactor)
           
StringBoolMap(java.util.Map<? extends java.lang.String,? extends java.lang.Boolean> m)
           
 
Method Summary
 void read(JMEImporter e)
          Subclasses must super.read(e), and can then use unsavedKeys to populate the map.
 void write(JMEExporter e)
          Subclasses must super.write(e)!
 
Methods inherited from class com.jme.util.export.AbstractStringKeyMap
getClassTag
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

StringBoolMap

public StringBoolMap()

StringBoolMap

public StringBoolMap(int initialCapacity)

StringBoolMap

public StringBoolMap(int initialCapacity,
                     float loadFactor)

StringBoolMap

public StringBoolMap(java.util.Map<? extends java.lang.String,? extends java.lang.Boolean> m)
Method Detail

write

public void write(JMEExporter e)
           throws java.io.IOException
Subclasses must super.write(e)!

Specified by:
write in interface Savable
Overrides:
write in class AbstractStringKeyMap<java.lang.Boolean>
Throws:
java.io.IOException

read

public void read(JMEImporter e)
          throws java.io.IOException
Description copied from class: AbstractStringKeyMap
Subclasses must super.read(e), and can then use unsavedKeys to populate the map.

Specified by:
read in interface Savable
Overrides:
read in class AbstractStringKeyMap<java.lang.Boolean>
Throws:
java.io.IOException


Copyright 2003-2009 jMonkeyEngine