< prev index next >

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

Print this page

        

@@ -2672,11 +2672,11 @@
      * 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 1.9
+     * @since 9
      */
     @Override
     public IntStream chars() {
         return StreamSupport.intStream(
             isLatin1() ? new StringLatin1.CharsSpliterator(value, Spliterator.IMMUTABLE)

@@ -2692,11 +2692,11 @@
      * 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 1.9
+     * @since 9
      */
     @Override
     public IntStream codePoints() {
         return StreamSupport.intStream(
             isLatin1() ? new StringLatin1.CharsSpliterator(value, Spliterator.IMMUTABLE)
< prev index next >