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
    Constructor
    Description
    Creates ImmutableSet serializer instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    void
    write(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ImmutableSetSerializer

      public ImmutableSetSerializer()
      Creates ImmutableSet serializer 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:
      write in class com.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:
      read in class com.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableSet<?>>