Class UniqueIdentifierGeneratorSerializer

java.lang.Object
com.esotericsoftware.kryo.Serializer<com.github.tommyettinger.cringe.UniqueIdentifier.Generator>
com.github.tommyettinger.kryo.cringe.UniqueIdentifierGeneratorSerializer

public class UniqueIdentifierGeneratorSerializer extends com.esotericsoftware.kryo.Serializer<com.github.tommyettinger.cringe.UniqueIdentifier.Generator>
Doesn't need anything else registered. The name doesn't match exactly; the class this serializes and deserializes is UniqueIdentifier.Generator. You usually will want to assign the result of read(Kryo, Input, Class) to UniqueIdentifier.GENERATOR. Unlike in earlier versions, this does not assign to GENERATOR automatically.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.github.tommyettinger.cringe.UniqueIdentifier.Generator
    copy(com.esotericsoftware.kryo.Kryo kryo, com.github.tommyettinger.cringe.UniqueIdentifier.Generator original)
     
    com.github.tommyettinger.cringe.UniqueIdentifier.Generator
    read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.github.tommyettinger.cringe.UniqueIdentifier.Generator> dataClass)
     
    void
    write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.github.tommyettinger.cringe.UniqueIdentifier.Generator 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.cringe.UniqueIdentifier.Generator data)
      Specified by:
      write in class com.esotericsoftware.kryo.Serializer<com.github.tommyettinger.cringe.UniqueIdentifier.Generator>
    • read

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

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