- What java 8? What intention of java 8.
- Interfaces
- Default Method in Java Interface
- Static Methods in Java Interfaces
- Other changes for interface in java 8
- Lambda Expressions
- Basics of Lambda Expressions
- Questions on Lamda Expressions
- Daily Uses of Lambda Expression
- Functional Interfaces and its types
- Java 8 Predicate Interfaces (always returns true or false)
- Java 8 Supplier Interfaces (no input and only output)
- Java 8 Consumer Interfaces (only input and no output)
- Java 8 Functions Interfaces (any input and any output)
- Java 8 UnitaryOperator Interfaces (one input and same type as output)
- Java 8 BinaryOperator Interfaces (two input and same type as output)
- Methods Reference and Constructor Reference
- Exception handling using wrapper lamda
- Calculating execution time of program in java 8
- Passing lambda as method parameter
- New Patterns in Java 8
- Null check using Objects.requiredNonNull
- Equals check using predicate (Predicate.isEqual(target))
- Predicate instead of if else in java (Predicate and())
- Iterating in one line using forEach
- Using Lambda instead of anonymous inner class
- Using Lambda as wrapper (Example : Exception handling)
- Chaining of consumers
- Explore all the methods of Supplier, Consumer, Predicate and Functions
- Explore Hacks in java 8
- Java Streams (Mock Data)
- Stream in Java 8
- Optional class
- Intermediate Methods
- Terminal Method
- ForEach method of the Stream class
- Collect method of the Stream class
- reduce method of Stream class (sum/count/avergae is pending)
- count method of Stream class
- match method of Stream class (allMatch,anyMatch,noneMatch)
- min and max method of Stream class
- toArray method of Stream class
- Shortcircuit method of Stream class
- Static Methods of Stream class
- builder()
- empty()
- of()
- of()
- iterate
- generate
- concat
- Other methods still to be determined
- of method of Stream class
- Stream Vs Parallel Stream
- Filtering and Transformation
- Grouping data with streams like SQL
- Joining Strings
- Collectors class
- To List
- To Set
- To Map
- To Collection
- joining method of collectors class
- summarize & stat
- averagingInt, summingInt and summarizingInt method of collectors class
- groupingBy , partitioningBy methods of Collectors
- collectingAndThen method of Collectors
- Date and Time API
- Steam + Map object
Questions :
- Why are stream immutable
- Stream Vs Collection
- Different ways to create stream
- How to convert Stream to Array using toArray method of Java 8 Stream?
- How to prove Java 8 Stream is lazy?
- What will happen if we call terminal operation more than one time?
- Base Interfaces of java 8 Stream
- Parallel vs Sequential Stream
- Whether we can reuse the Stream or not?
- How Parallel Stream works?
- What are the core stream operations of Java 8 Stream?
- What are the Key-points of Java 8 Stream?
Reference :