Class ShadedImmutableMapSerializer
public class ShadedImmutableMapSerializer
extends com.esotericsoftware.kryo.Serializer<it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<Object,? extends Object>>
A kryo
Serializer for guava-libraries ImmutableMap.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<Object, ? extends Object>> type) static voidregisterSerializers(com.esotericsoftware.kryo.Kryo kryo) Creates a newShadedImmutableMapSerializerand registers its serializer for the several ImmutableMap related classes.voidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, it.unibz.inf.ontop.com.google.common.collect.ImmutableMap<Object, ? extends Object> immutableMap) Methods inherited from class com.esotericsoftware.kryo.Serializer
copy, getAcceptsNull, isImmutable, setAcceptsNull, setGenerics, setImmutable
-
Constructor Details
-
ShadedImmutableMapSerializer
public ShadedImmutableMapSerializer()
-
-
Method Details
-
write
-
read
-
registerSerializers
public static void registerSerializers(com.esotericsoftware.kryo.Kryo kryo) Creates a newShadedImmutableMapSerializerand registers its serializer for the several ImmutableMap related classes.- Parameters:
kryo- theKryoinstance to set the serializer on
-