equal
deleted
inserted
replaced
119 * Returns a stream of {@code int} zero-extending the {@code char} values |
119 * Returns a stream of {@code int} zero-extending the {@code char} values |
120 * from this sequence. Any char which maps to a <a |
120 * from this sequence. Any char which maps to a <a |
121 * href="{@docRoot}/java/lang/Character.html#unicode">surrogate code |
121 * href="{@docRoot}/java/lang/Character.html#unicode">surrogate code |
122 * point</a> is passed through uninterpreted. |
122 * point</a> is passed through uninterpreted. |
123 * |
123 * |
124 * <p>If the sequence is mutated while the stream is being read, the |
124 * <p>The stream binds to this sequence when the terminal stream operation |
125 * result is undefined. |
125 * commences (specifically, for mutable sequences the spliterator for the |
|
126 * stream is <a href="../Spliterator.html#binding"><em>late-binding</em></a>). |
|
127 * If the sequence is modified during that operation then the result is |
|
128 * undefined. |
126 * |
129 * |
127 * @return an IntStream of char values from this sequence |
130 * @return an IntStream of char values from this sequence |
128 * @since 1.8 |
131 * @since 1.8 |
129 */ |
132 */ |
130 public default IntStream chars() { |
133 public default IntStream chars() { |
166 * Character#toCodePoint Character.toCodePoint} and the result is passed |
169 * Character#toCodePoint Character.toCodePoint} and the result is passed |
167 * to the stream. Any other code units, including ordinary BMP characters, |
170 * to the stream. Any other code units, including ordinary BMP characters, |
168 * unpaired surrogates, and undefined code units, are zero-extended to |
171 * unpaired surrogates, and undefined code units, are zero-extended to |
169 * {@code int} values which are then passed to the stream. |
172 * {@code int} values which are then passed to the stream. |
170 * |
173 * |
171 * <p>If the sequence is mutated while the stream is being read, the result |
174 * <p>The stream binds to this sequence when the terminal stream operation |
172 * is undefined. |
175 * commences (specifically, for mutable sequences the spliterator for the |
|
176 * stream is <a href="../Spliterator.html#binding"><em>late-binding</em></a>). |
|
177 * If the sequence is modified during that operation then the result is |
|
178 * undefined. |
173 * |
179 * |
174 * @return an IntStream of Unicode code points from this sequence |
180 * @return an IntStream of Unicode code points from this sequence |
175 * @since 1.8 |
181 * @since 1.8 |
176 */ |
182 */ |
177 public default IntStream codePoints() { |
183 public default IntStream codePoints() { |