Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8288550

String not implementing Iterable<Character>

XMLWordPrintable

    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      The java.lang.String class should implement a way to iterate through it's characters with an enhanced for loop and or streams. This is currently not possible without using something like String.toCharArray() which copies data to perform immutable iterations.


            darcy Joe Darcy
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: