Skip to content

Conversation

@oswaldobapvicjr
Copy link

This push adds a method to obtain a Stream over the elements in a JSONArray.

*/
public Stream<Object> stream() {
return myArrayList.stream();
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is already a toList() method available. We can call toList().stream().

@stleary
Copy link
Owner

stleary commented Mar 7, 2025

@oswaldobapvicjr Please check the FAQ - lib code must compile with Java 6.
Closing due to not compatible with Java 6.

@stleary stleary closed this Mar 7, 2025
@oswaldobapvicjr oswaldobapvicjr deleted the pr001 branch March 24, 2025 18:13
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

Successfully merging this pull request may close these issues.

3 participants