Class ImmutableSetSerializer


  • public class ImmutableSetSerializer
    extends com.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableSet<?>>
    Kryo Serializer for ImmutableSet.
    • Constructor Summary

      Constructors 
      Constructor Description
      ImmutableSetSerializer()
      Creates ImmutableSet serializer instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.google.common.collect.ImmutableSet<?> read​(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<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, setGenerics, setImmutable
    • Constructor Detail

      • ImmutableSetSerializer

        public ImmutableSetSerializer()
        Creates ImmutableSet serializer instance.
    • Method Detail

      • 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<com.google.common.collect.ImmutableSet<?>> type)
        Specified by:
        read in class com.esotericsoftware.kryo.Serializer<com.google.common.collect.ImmutableSet<?>>