Skip to content

Commit

Permalink
[Java] Move get method declaration to the ReadablePosition class.
Browse files Browse the repository at this point in the history
  • Loading branch information
vyazelenko committed Feb 3, 2025
1 parent c1f9314 commit eb3b7d2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,6 @@ public Position()
*/
public abstract boolean isClosed();

/**
* Get the current position of a component with plain memory semantics.
*
* @return the current position of a component
*/
public abstract long get();

/**
* Sets the current position of the component with volatile memory semantics.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ public ReadablePosition()
*/
public abstract int id();

/**
* Get the current position of a component with plain memory semantics.
*
* @return the current position of a component
*/
public abstract long get();

/**
* Get the current position of a component with volatile memory semantics.
*
Expand Down

0 comments on commit eb3b7d2

Please sign in to comment.