8215112: String::transform spec clarification

Reviewed-by: smarks
This commit is contained in:
Jim Laskey 2019-01-09 15:23:11 -04:00
parent 6bc30c6707
commit c7d085fa64

View file

@ -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
*