Class LongBagSerializer

java.lang.Object
com.esotericsoftware.kryo.Serializer<com.github.tommyettinger.ds.LongBag>
com.github.tommyettinger.kryo.jdkgdxds.LongBagSerializer

public class LongBagSerializer extends com.esotericsoftware.kryo.Serializer<com.github.tommyettinger.ds.LongBag>
Kryo Serializer for jdkgdxds LongBags.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.github.tommyettinger.ds.LongBag
    copy(com.esotericsoftware.kryo.Kryo kryo, com.github.tommyettinger.ds.LongBag original)
     
    com.github.tommyettinger.ds.LongBag
    read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.github.tommyettinger.ds.LongBag> dataClass)
     
    void
    write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.github.tommyettinger.ds.LongBag data)
     

    Methods inherited from class com.esotericsoftware.kryo.Serializer

    getAcceptsNull, isImmutable, setAcceptsNull, setImmutable

    Methods inherited from class java.lang.Object

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

  • Method Details

    • write

      public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.github.tommyettinger.ds.LongBag data)
      Specified by:
      write in class com.esotericsoftware.kryo.Serializer<com.github.tommyettinger.ds.LongBag>
    • read

      public com.github.tommyettinger.ds.LongBag read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.github.tommyettinger.ds.LongBag> dataClass)
      Specified by:
      read in class com.esotericsoftware.kryo.Serializer<com.github.tommyettinger.ds.LongBag>
    • copy

      public com.github.tommyettinger.ds.LongBag copy(com.esotericsoftware.kryo.Kryo kryo, com.github.tommyettinger.ds.LongBag original)
      Overrides:
      copy in class com.esotericsoftware.kryo.Serializer<com.github.tommyettinger.ds.LongBag>