Class Int2UndirectedGraphSerializer

java.lang.Object
com.esotericsoftware.kryo.Serializer<com.github.tommyettinger.gand.Int2UndirectedGraph>
com.github.tommyettinger.kryo.gand.Int2UndirectedGraphSerializer

public class Int2UndirectedGraphSerializer extends com.esotericsoftware.kryo.Serializer<com.github.tommyettinger.gand.Int2UndirectedGraph>
Kryo Serializer for gand Int2UndirectedGraphs. You must have PointI2 registered to use this as the serializer for Int2UndirectedGraph, such as with PointI2Serializer.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

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

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

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