public class ImmutableListSerializer
extends com.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableList<java.lang.Object>>
| Constructor and Description |
|---|
ImmutableListSerializer() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<java.lang.Object> |
read(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Input input,
java.lang.Class<com.google.common.collect.ImmutableList<java.lang.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<java.lang.Object> object) |
public void write(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Output output,
com.google.common.collect.ImmutableList<java.lang.Object> object)
write in class com.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableList<java.lang.Object>>public com.google.common.collect.ImmutableList<java.lang.Object> read(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Input input,
java.lang.Class<com.google.common.collect.ImmutableList<java.lang.Object>> type)
read in class com.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableList<java.lang.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 on