Class PatternSerializer

java.lang.Object
com.esotericsoftware.kryo.Serializer<regexodus.Pattern>
com.github.tommyettinger.kryo.regexodus.PatternSerializer

public class PatternSerializer extends com.esotericsoftware.kryo.Serializer<regexodus.Pattern>
Kryo Serializer for Regexodus Patterns.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    regexodus.Pattern
    read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends regexodus.Pattern> dataClass)
     
    void
    write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, regexodus.Pattern data)
     

    Methods inherited from class com.esotericsoftware.kryo.Serializer

    copy, 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, regexodus.Pattern data)
      Specified by:
      write in class com.esotericsoftware.kryo.Serializer<regexodus.Pattern>
    • read

      public regexodus.Pattern read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends regexodus.Pattern> dataClass)
      Specified by:
      read in class com.esotericsoftware.kryo.Serializer<regexodus.Pattern>