This training session video covers -
- PECS > Producer extends Consumer super
- Remember Generics which provide type safety?: https://www.seleniumtests.com/p/java-training-tutorial-videos.html
- What are “extends”, “super” and bounded wild card?
- <? extends T> and <? super T> WTF ???
- PECS on Jav8 > Stream examples -
- forEach(Consumer<? super T> action)
- map(Function<? super T, ? extends R> mapper) example from com.seleniumtests.tests.web.SeleniumWithJava8Session6#usingJava8
Comments
Post a Comment
No spam only genuine comments :)