public class ImmutableTableSerializer<R,C,V> extends TableSerializerBase<R,C,V,com.google.common.collect.ImmutableTable<R,C,V>>
Serializer for guava-libraries ImmutableTable.| Constructor and Description |
|---|
ImmutableTableSerializer() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableTable<R,C,V> |
read(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Input input,
Class<? extends com.google.common.collect.ImmutableTable<R,C,V>> type) |
static void |
registerSerializers(com.esotericsoftware.kryo.Kryo kryo)
Creates a new
ImmutableTableSerializer and registers its serializer. |
void |
write(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Output output,
com.google.common.collect.ImmutableTable<R,C,V> immutableTable) |
readTable, readTable, writeTablepublic void write(com.esotericsoftware.kryo.Kryo kryo,
com.esotericsoftware.kryo.io.Output output,
com.google.common.collect.ImmutableTable<R,C,V> immutableTable)
public com.google.common.collect.ImmutableTable<R,C,V> read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.google.common.collect.ImmutableTable<R,C,V>> type)
public static void registerSerializers(com.esotericsoftware.kryo.Kryo kryo)
ImmutableTableSerializer and registers its serializer.kryo - the Kryo instance to set the serializer onCopyright © 2010–2019. All rights reserved.