| Constructor and Description |
|---|
ImmutableMapSerializer() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableMap<Object,Object> |
read(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Input input,
Class<com.google.common.collect.ImmutableMap<Object,? extends Object>> type) |
static void |
registerSerializers(com.esotericsoftware.kryo.Kryo kryo)
Creates a new
ImmutableMapSerializer and registers its serializer
for the several ImmutableMap related classes. |
void |
write(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Output output,
com.google.common.collect.ImmutableMap<Object,? extends Object> immutableMap) |
public void write(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Output output,
com.google.common.collect.ImmutableMap<Object,? extends Object> immutableMap)
public com.google.common.collect.ImmutableMap<Object,Object> read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<com.google.common.collect.ImmutableMap<Object,? extends Object>> type)
public static void registerSerializers(com.esotericsoftware.kryo.Kryo kryo)
ImmutableMapSerializer and registers its serializer
for the several ImmutableMap related classes.kryo - the Kryo instance to set the serializer onCopyright © 2010–2015. All rights reserved.