Class ImmutableSortedSetSerializer
- java.lang.Object
-
- com.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableSortedSet<Object>>
-
- de.javakaffee.kryoserializers.guava.ImmutableSortedSetSerializer
-
public class ImmutableSortedSetSerializer extends com.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableSortedSet<Object>>
A kryoSerializerfor guava-librariesImmutableSortedSet.
-
-
Constructor Summary
Constructors Constructor Description ImmutableSortedSetSerializer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.collect.ImmutableSortedSet<Object>read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.google.common.collect.ImmutableSortedSet<Object>> type)static voidregisterSerializers(com.esotericsoftware.kryo.Kryo kryo)Creates a newImmutableSortedSetSerializerand registers its serializer for the several ImmutableSortedSet related classes.voidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.google.common.collect.ImmutableSortedSet<Object> object)
-
-
-
Method Detail
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.google.common.collect.ImmutableSortedSet<Object> object)- Specified by:
writein classcom.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableSortedSet<Object>>
-
read
public com.google.common.collect.ImmutableSortedSet<Object> read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.google.common.collect.ImmutableSortedSet<Object>> type)
- Specified by:
readin classcom.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableSortedSet<Object>>
-
registerSerializers
public static void registerSerializers(com.esotericsoftware.kryo.Kryo kryo)
Creates a newImmutableSortedSetSerializerand registers its serializer for the several ImmutableSortedSet related classes.- Parameters:
kryo- theKryoinstance to set the serializer on
-
-