mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8215112: String::transform spec clarification
Reviewed-by: smarks
This commit is contained in:
parent
6bc30c6707
commit
c7d085fa64
@ -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…
x
Reference in New Issue
Block a user