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 TypeMethodDescriptionbooleanafter()Returnstrueif the request continues after the row,falseif it continues before it.
-
Method Details
-
after
boolean after()Returnstrueif the request continues after the row,falseif it continues before it.- Returns:
trueto continue after the row,falseto continue before it.
-