Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stream() API support for Array #25

Open
Umesh606 opened this issue Jan 11, 2019 · 2 comments
Open

Stream() API support for Array #25

Umesh606 opened this issue Jan 11, 2019 · 2 comments

Comments

@Umesh606
Copy link

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? :)

@xerZV
Copy link

xerZV commented Jan 12, 2019

try

import java.util.Arrays;
......
Arrays.stream(stringArray)

@Umesh606
Copy link
Author

great. cheers. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants