-
Notifications
You must be signed in to change notification settings - Fork 15
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 #3
Comments
Could you give me some samples and suggestions? Just learning all the ropes for Java 8 myself at this time... |
Maybe KotliFx project can be useful for U. See: I hope that:
|
sure thing, should be possible |
I guess the biggest example that I had in mind was: Lets say that you have a table of <id, name, value> values and you had the underlying list named dataContents. Lets also say that you have a search box above. Well the onaction could become: incomingValue -> dataContents.stream().filter(s-> s.name.contains(incomingValue) || s.value.contains(incomingValue)).list() The incoming value isn't hugely neccessary if you want to hard code that name. However this line would remove the code within the code behind, and it's just used for filtering the data contents. Its just a thought. |
sure, but that is on the code side, not in the YML side (which is where we focus). So I am not sure how you imagine it being integrated. With the improvements in Java 8, a lot of the verbosity is cut down. |
Add stream API support so that we don't have to write custom methods for doing simple stuff.
The text was updated successfully, but these errors were encountered: