Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
Why do the vowels have to be in [ ]?
why?
Nice job
nice
Nice touch keepeng the parameter immutable.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Functional programming is a huge topic. The syntax demands some time to get used to it and it's ok to be confused.
In short this code converts ArrayList to a special object Stream. Stream has a lot of different methods, one of them is reduce(), used here. This method accepts functional interface called BinaryOperator.
What we actually trying to do here is to "declare" something we want to do, leaving Java do all the magic under the hood, rather than implementing it by ourselves.
Yes, thank you. It's amazing how one task can be solved differently with functional programming.
Powerful tool.
This comment is hidden because it contains spoiler information about the solution
i didnt really get it :(
Manual notification, see above.
could you explain this solution pls?
Loading more items...