Class SimpleByteBufferCursor

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.nio.ByteBuffer m_byteBuffer  
      (package private) int m_count  
      (package private) int m_index  
    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleByteBufferCursor​(java.nio.ByteBuffer byteBuffer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getByteBufferID()
      Returns the ID of the current ByteBuffer.
      java.nio.ByteBuffer next()
      Moves the cursor to the next ByteBuffer.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • m_byteBuffer

        java.nio.ByteBuffer m_byteBuffer
      • m_index

        int m_index
      • m_count

        int m_count
    • Constructor Detail

      • SimpleByteBufferCursor

        public SimpleByteBufferCursor​(java.nio.ByteBuffer byteBuffer)
    • Method Detail

      • getByteBufferID

        public int getByteBufferID()
        Description copied from class: ByteBufferCursor
        Returns the ID of the current ByteBuffer. The ID is propagated across the operations (when possible). Returns an ID associated with the current Geometry. The ID is passed along and is returned by some operators to preserve relationship between the input and output geometry classes. It is not always possible to preserve an ID during an operation.
        Specified by:
        getByteBufferID in class ByteBufferCursor
      • next

        public java.nio.ByteBuffer next()
        Description copied from class: ByteBufferCursor
        Moves the cursor to the next ByteBuffer. Returns null when reached the end.
        Specified by:
        next in class ByteBufferCursor