Visitar URL original
Stream() API support for Array · Issue #25 · java8/Java8InAction · GitHub
Skip to content

Stream() API support for Array #25

Description

@Umesh606

String[] stringArray = {"A,B","B,A","C,D","C,B","A,V"};
stringArray.stream() ------>> Cannot invoke stream() on the array type String[]

is it not good to have streaming on Array as well? :)

Activity

  1. xerZV commented on Jan 12, 2019

    @xerZV

    try

    import java.util.Arrays;
    ......
    Arrays.stream(stringArray)
    
  2. Umesh606 commented on Jan 13, 2019

    @Umesh606
    Author

    great. cheers. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions