mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8189952: New methods on String: chars() and codePoints() should be marked since 9
Reviewed-by: bpb
This commit is contained in:
parent
5f6a5a4d9d
commit
b905e51da7
1 changed files with 2 additions and 0 deletions
|
@ -2664,6 +2664,7 @@ public final class String
|
|||
* point</a> is passed through uninterpreted.
|
||||
*
|
||||
* @return an IntStream of char values from this sequence
|
||||
* @since 9
|
||||
*/
|
||||
@Override
|
||||
public IntStream chars() {
|
||||
|
@ -2683,6 +2684,7 @@ public final class String
|
|||
* {@code int} values which are then passed to the stream.
|
||||
*
|
||||
* @return an IntStream of Unicode code points from this sequence
|
||||
* @since 9
|
||||
*/
|
||||
@Override
|
||||
public IntStream codePoints() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue