Class STRtreeSerializer

java.lang.Object
com.esotericsoftware.kryo.Serializer<org.locationtech.jts.index.strtree.STRtree>
org.locationtech.jts.index.strtree.STRtreeSerializer

public class STRtreeSerializer extends com.esotericsoftware.kryo.Serializer<org.locationtech.jts.index.strtree.STRtree>
Provides methods to efficiently serialize and deserialize the index. trees are serialized recursively.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.locationtech.jts.index.strtree.STRtree
    read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<org.locationtech.jts.index.strtree.STRtree> type)
     
    void
    write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, org.locationtech.jts.index.strtree.STRtree tree)
     

    Methods inherited from class com.esotericsoftware.kryo.Serializer

    copy, getAcceptsNull, isImmutable, setAcceptsNull, setGenerics, setImmutable

    Methods inherited from class java.lang.Object

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

    • STRtreeSerializer

      public STRtreeSerializer()
  • Method Details

    • read

      public org.locationtech.jts.index.strtree.STRtree read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<org.locationtech.jts.index.strtree.STRtree> type)
      Specified by:
      read in class com.esotericsoftware.kryo.Serializer<org.locationtech.jts.index.strtree.STRtree>
    • write

      public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, org.locationtech.jts.index.strtree.STRtree tree)
      Specified by:
      write in class com.esotericsoftware.kryo.Serializer<org.locationtech.jts.index.strtree.STRtree>