Package st.orm

Interface Position


public interface Position
The row a scroll request continues from, and on which side of it.

A position is opaque, like the cursor string that carries it between requests. It comes from Scrollable.after(Object...), Scrollable.before(Object...) or Scrollable.from(String) and travels with the Scrollable it belongs to; the engine builds it and reads the row it names when it builds the window. A position after a row asks for the rows that follow it in sort order; a position before it asks for the rows that precede it. Either way the window comes back in sort order.

Since:
1.14
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if the request continues after the row, false if it continues before it.
  • Method Details

    • after

      boolean after()
      Returns true if the request continues after the row, false if it continues before it.
      Returns:
      true to continue after the row, false to continue before it.