mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8215112: String::transform spec clarification
Reviewed-by: smarks
This commit is contained in:
parent
6bc30c6707
commit
c7d085fa64
1 changed files with 3 additions and 0 deletions
|
@ -2982,6 +2982,9 @@ public final class String
|
|||
* This method allows the application of a function to {@code this}
|
||||
* string. The function should expect a single String argument
|
||||
* and produce an {@code R} result.
|
||||
* <p>
|
||||
* Any exception thrown by {@code f()} will be propagated to the
|
||||
* caller.
|
||||
*
|
||||
* @param f functional interface to a apply
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue