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

Unification of iterations over arrays

    Details

    • Subcomponent:
    • Resolved In Build:
      b20
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Currently we have a few patters to work with arrays in JavaSOund.
         - Iterates using the for loop
         - Iterates using Arrays.asList
         - Iterates using Stream.of

        I suggest to unify this and use Arrays.stream in all cases, because it works for arrays of objects and primitives

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  serb Sergey Bylokhov
                  Reporter:
                  serb Sergey Bylokhov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: