Class WrappedKryoSerializer<S extends ToBytesSerialiser<T>,​T>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(Object obj)  
      int hashCode()  
      T read​(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<T> type)  
      void write​(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, T obj)  
      • Methods inherited from class com.esotericsoftware.kryo.Serializer

        copy, getAcceptsNull, isImmutable, setAcceptsNull, setGenerics, setImmutable
    • Constructor Detail

      • WrappedKryoSerializer

        public WrappedKryoSerializer​(S serialiser)
    • Method Detail

      • write

        public void write​(com.esotericsoftware.kryo.Kryo kryo,
                          com.esotericsoftware.kryo.io.Output output,
                          T obj)
        Specified by:
        write in class com.esotericsoftware.kryo.Serializer<T>
      • read

        public T read​(com.esotericsoftware.kryo.Kryo kryo,
                      com.esotericsoftware.kryo.io.Input input,
                      Class<T> type)
        Specified by:
        read in class com.esotericsoftware.kryo.Serializer<T>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object