K - the type of the key used in this hash mapV - the type of the value used in this hash mappublic class SerializableHashMap<K extends IOReadableWritable,V extends IOReadableWritable> extends HashMap<K,V> implements IOReadableWritable
HashMap by implementing the
IOReadableWritable interface. As a result, hash maps of this type can be used
with Nephele's RPC system.
This class is not thread-safe.
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
SerializableHashMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
read(DataInputView in) |
void |
write(DataOutputView out) |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringpublic void write(DataOutputView out) throws IOException
write in interface IOReadableWritableIOExceptionpublic void read(DataInputView in) throws IOException
read in interface IOReadableWritableIOExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.