Class AbstractNativeType<T extends AbstractNativeType<T>>

    • Field Detail

      • i

        protected int i
    • Constructor Detail

      • AbstractNativeType

        public AbstractNativeType()
    • Method Detail

      • updateIndex

        public void updateIndex​(int j)
        Description copied from interface: NativeType
        Set the index into the current data array.

        This is used by accessors (e.g., a Cursor) to position the NativeType in the container.

        Specified by:
        updateIndex in interface NativeType<T extends AbstractNativeType<T>>
        Parameters:
        j - the new array index
      • getIndex

        public int getIndex()
        Description copied from interface: NativeType
        Get the current index into the current data array.

        This is used by accessors (e.g., a Cursor) to position the NativeType in the container.

        Specified by:
        getIndex in interface NativeType<T extends AbstractNativeType<T>>
        Returns:
        the current index into the underlying data array
      • incIndex

        public void incIndex​(int increment)
        Description copied from interface: NativeType
        Increases the index into the current data array by increment steps.

        This is used by accessors (e.g., a Cursor) to position the NativeType in the container.

        Specified by:
        incIndex in interface NativeType<T extends AbstractNativeType<T>>
        Parameters:
        increment - how many steps
      • decIndex

        public void decIndex​(int decrement)
        Description copied from interface: NativeType
        Decrease the index into the current data array by decrement steps.

        This is used by accessors (e.g., a Cursor) to position the NativeType in the container.

        Specified by:
        decIndex in interface NativeType<T extends AbstractNativeType<T>>
        Parameters:
        decrement - how many steps
      • toString

        public abstract java.lang.String toString()
        Overrides:
        toString in class java.lang.Object