Class ImmutableSetSerializer
java.lang.Object
com.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableSet<?>>
io.atomix.utils.serializer.serializers.ImmutableSetSerializer
public class ImmutableSetSerializer
extends com.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableSet<?>>
Kryo Serializer for
ImmutableSet.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.collect.ImmutableSet<?>read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.google.common.collect.ImmutableSet<?>> type) voidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.google.common.collect.ImmutableSet<?> object) Methods inherited from class com.esotericsoftware.kryo.Serializer
copy, getAcceptsNull, isImmutable, setAcceptsNull, setImmutable
-
Constructor Details
-
ImmutableSetSerializer
public ImmutableSetSerializer()CreatesImmutableSetserializer instance.
-
-
Method Details
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.google.common.collect.ImmutableSet<?> object) - Specified by:
writein classcom.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableSet<?>>
-
read
public com.google.common.collect.ImmutableSet<?> read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.google.common.collect.ImmutableSet<?>> type) - Specified by:
readin classcom.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableSet<?>>
-