Class ShadedImmutableBiMapSerializer
public class ShadedImmutableBiMapSerializer
extends com.esotericsoftware.kryo.Serializer<it.unibz.inf.ontop.com.google.common.collect.ImmutableBiMap<Object,Object>>
A kryo
Serializer for guava-libraries ImmutableBiMap.-
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.ImmutableBiMap<Object, Object>> type) static voidregisterSerializers(com.esotericsoftware.kryo.Kryo kryo) Creates a newShadedImmutableBiMapSerializerand registers its serializer for the several ImmutableList related classes.voidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, it.unibz.inf.ontop.com.google.common.collect.ImmutableBiMap<Object, Object> immutableMap) Methods inherited from class com.esotericsoftware.kryo.Serializer
copy, getAcceptsNull, isImmutable, setAcceptsNull, setGenerics, setImmutable
-
Constructor Details
-
ShadedImmutableBiMapSerializer
public ShadedImmutableBiMapSerializer()
-
-
Method Details
-
write
-
read
-
registerSerializers
public static void registerSerializers(com.esotericsoftware.kryo.Kryo kryo) Creates a newShadedImmutableBiMapSerializerand registers its serializer for the several ImmutableList related classes.- Parameters:
kryo- theKryoinstance to set the serializer on
-