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.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, values
equals, hashCode, toString
public void write(DataOutputView out) throws IOException
write
in interface IOReadableWritable
IOException
public void read(DataInputView in) throws IOException
read
in interface IOReadableWritable
IOException
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.