JDK-8012665 : CharSequence.chars, CharSequence.codePoints
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.util.stream
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-04-19
  • Updated: 2022-07-26
  • Resolved: 2013-05-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8 b89Fixed
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Comments
URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/c6aef650e615 User: lana Date: 2013-05-07 18:40:01 +0000
07-05-2013

URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/c6aef650e615 User: mduigou Date: 2013-05-01 15:37:32 +0000
01-05-2013

/** * Returns a stream of {@code int} zero-extending the {@code char} values * from this sequence. Any char which maps to a <a * href="{@docRoot}/java/lang/Character.html#unicode">surrogate code * point</a> is passed through uninterpreted. * * <p>If the sequence is mutated while the stream is being read, the * result is undefined. * * @return an IntStream of char values from this sequence * @since 1.8 */ public default IntStream chars() {} /** * Returns a stream of code point values from this sequence. Any surrogate * pairs encountered in the sequence are combined as if by {@linkplain * Character#toCodePoint Character.toCodePoint} and the result is passed * to the stream. Any other code units, including ordinary BMP characters, * unpaired surrogates, and undefined code units, are zero-extended to * {@code int} values which are then passed to the stream. * * <p>If the sequence is mutated while the stream is being read, the result * is undefined. * * @return an IntStream of Unicode code points from this sequence * @since 1.8 */ public default IntStream codePoints() {}
23-04-2013