Class HornRandomSerializer

java.lang.Object
com.esotericsoftware.kryo.Serializer<com.github.tommyettinger.random.HornRandom>
com.github.tommyettinger.kryo.juniper.HornRandomSerializer

public class HornRandomSerializer extends com.esotericsoftware.kryo.Serializer<com.github.tommyettinger.random.HornRandom>
Kryo Serializer for juniper HornRandoms.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

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

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

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