Skip to content

Commit

Permalink
Javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Oct 11, 2024
1 parent b2d5566 commit a6e112c
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,15 @@ public AbstractSupplier() {
}

/**
* Returns this instance typed as the proper subclass type.
* Returns this instance typed as the subclass type {@code B}.
* <p>
* This is the same as the expression:
* </p>
* <pre>
* (B) this
* </pre>
*
* @return this instance typed as the proper subclass type.
* @return this instance typed as the subclass type {@code B}.
*/
@SuppressWarnings("unchecked")
protected B asThis() {
Expand Down

0 comments on commit a6e112c

Please sign in to comment.