< prev index next >

src/java.base/share/classes/java/lang/String.java

Print this page

        

@@ -2670,11 +2670,10 @@
      * 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.
      *
      * @return an IntStream of char values from this sequence
-     * @since 9
      */
     @Override
     public IntStream chars() {
         return StreamSupport.intStream(
             isLatin1() ? new StringLatin1.CharsSpliterator(value, Spliterator.IMMUTABLE)

@@ -2690,11 +2689,10 @@
      * 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.
      *
      * @return an IntStream of Unicode code points from this sequence
-     * @since 9
      */
     @Override
     public IntStream codePoints() {
         return StreamSupport.intStream(
             isLatin1() ? new StringLatin1.CharsSpliterator(value, Spliterator.IMMUTABLE)
< prev index next >