org.granite.collections
Class BasicMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
org.granite.collections.BasicMap<K,V>
- All Implemented Interfaces:
- Externalizable, Serializable, Cloneable, Map<K,V>
public class BasicMap<K,V>
- extends HashMap<K,V>
- implements Externalizable, Serializable
- Author:
- Franck WOLFF
- See Also:
- Serialized Form
| Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
BasicMap
public BasicMap()
BasicMap
public BasicMap(Map<K,V> map)
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable
- Throws:
IOException
newInstance
public static BasicMap<?,?> newInstance(Map<?,?> map)
toString
public String toString()
- Overrides:
toString in class AbstractMap<K,V>