Interface CompositeByteArray.CursorListener

Enclosing class:
CompositeByteArray

public static interface CompositeByteArray.CursorListener
Allows for efficient detection of component boundaries when using a cursor. TODO: Is this interface right?
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    enteredFirstComponent(int componentIndex, ByteArray component)
    Called when the first component in the composite is entered by the cursor.
    void
    enteredLastComponent(int componentIndex, ByteArray component)
    Called when the last component in the composite is entered by the cursor.
    void
    enteredNextComponent(int componentIndex, ByteArray component)
    Called when the next component in the composite is entered by the cursor.
    void
    enteredPreviousComponent(int componentIndex, ByteArray component)
    Called when the previous component in the composite is entered by the cursor.
  • Method Details

    • enteredFirstComponent

      void enteredFirstComponent(int componentIndex, ByteArray component)
      Called when the first component in the composite is entered by the cursor.
      Parameters:
      componentIndex - The component position
      component - The component to use
    • enteredNextComponent

      void enteredNextComponent(int componentIndex, ByteArray component)
      Called when the next component in the composite is entered by the cursor.
      Parameters:
      componentIndex - The component position
      component - The component to use
    • enteredPreviousComponent

      void enteredPreviousComponent(int componentIndex, ByteArray component)
      Called when the previous component in the composite is entered by the cursor.
      Parameters:
      componentIndex - The component position
      component - The component to use
    • enteredLastComponent

      void enteredLastComponent(int componentIndex, ByteArray component)
      Called when the last component in the composite is entered by the cursor.
      Parameters:
      componentIndex - The component position
      component - The component to use