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