Can you cite some methods from the Stream API? - Cracking the Java Coding Interview

preview_player
Показать описание
Cracking the #Java #Coding #Interview - Question 62: Can you cite some methods from the Stream API?
Рекомендации по теме
Комментарии
Автор

legends says that he finally drinks his coffe :D, but in all seriousness i love those shorts. Very nice and quick way to quickly remind some things.
Ideas for shorts : super keyword, generics, javadoc comments, views, modules or DATE API, which classes avoid (having in mind timezones, internationalization, locale etc.)

TheAnimeSounds
Автор

Regarding side effects, is it allowed to do something like: stream.forEach(e->e.reset()) for example to reset the state of all element inside the collection to a default state?

zombi
Автор

reduce is useful to get last element of "linked" collection after some filtering.

eq
Автор

The background music is too noisy and couldn’t hear anything concrete

raghavanaliassaravananm
Автор

Fragile language: "don't use this don't use that" Why the hack these methods are there?

"Don't do this don't do that"
Why don't the language restrict that itself?

linuxtutorialshindi