Class ArraysAsListSerializer


  • public final class ArraysAsListSerializer
    extends com.esotericsoftware.kryo.Serializer<java.util.List<?>>
    Kryo Serializer for Arrays.asList(Object...).
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<?> read​(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, java.lang.Class<java.util.List<?>> type)  
      void write​(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, java.util.List<?> object)  
      • Methods inherited from class com.esotericsoftware.kryo.Serializer

        copy, getAcceptsNull, isImmutable, setAcceptsNull, setGenerics, setImmutable
      • Methods inherited from class java.lang.Object

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

      • ArraysAsListSerializer

        public ArraysAsListSerializer()
    • Method Detail

      • write

        public void write​(com.esotericsoftware.kryo.Kryo kryo,
                          com.esotericsoftware.kryo.io.Output output,
                          java.util.List<?> object)
        Specified by:
        write in class com.esotericsoftware.kryo.Serializer<java.util.List<?>>
      • read

        public java.util.List<?> read​(com.esotericsoftware.kryo.Kryo kryo,
                                      com.esotericsoftware.kryo.io.Input input,
                                      java.lang.Class<java.util.List<?>> type)
        Specified by:
        read in class com.esotericsoftware.kryo.Serializer<java.util.List<?>>