|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap<K,V>
java.util.HashMap<K,V>
water.util.Utils.IcedHashMap<K,V>
T
- public static class Utils.IcedHashMap<K extends Iced,V extends Iced>
Simple wrapper around HashMap with support for H2O serialization
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Constructor Summary | |
---|---|
Utils.IcedHashMap()
|
Method Summary | ||
---|---|---|
int |
frozenType()
Return the cluster-wide-unique 2-byte type ID for instances of this class |
|
|
newInstance()
Make a new instance of class 'this' with the empty constructor |
|
Utils.IcedHashMap<K,V> |
read(AutoBuffer bb)
Deserialize from the AutoBuffer into a pre-existing 'this' object. |
|
DocGen.FieldDoc[] |
toDocField()
Reflective list of fields |
|
AutoBuffer |
write(AutoBuffer bb)
Serialize the 'this' object into the AutoBuffer, returning the AutoBuffer. |
|
AutoBuffer |
writeJSONFields(AutoBuffer bb)
Serialize the 'this' object into the AutoBuffer, returning the AutoBuffer. |
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 |
Constructor Detail |
---|
public Utils.IcedHashMap()
Method Detail |
---|
public AutoBuffer write(AutoBuffer bb)
Freezable
write
in interface Freezable
public Utils.IcedHashMap<K,V> read(AutoBuffer bb)
Freezable
read
in interface Freezable
public <T2 extends Freezable> T2 newInstance()
Freezable
newInstance
in interface Freezable
public int frozenType()
Freezable
frozenType
in interface Freezable
public AutoBuffer writeJSONFields(AutoBuffer bb)
Freezable
writeJSONFields
in interface Freezable
public DocGen.FieldDoc[] toDocField()
Freezable
toDocField
in interface Freezable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |