Systemutveckling Java New Features
This Java New Features training course provides hands-on experience with lambda expressions introduced in Java as well as many other changes to the language and libraries.
Målgrupp
Anyone developing Java applications who has core Java SE skills and wishes to leverage lambda expressions in their code to make it easier to evolve, simpler to understand and more maintainable, as well as anyone who wishes to leverage Java streams in their programmes to process collections of data concisely and efficiently.
Förkunskaper
The course assumes a background in Java programming with Java 7.
Kursfakta
Typ | Öppen |
---|---|
Längd | 3 dagar |
Ditt pris | 26 110 kr exkl. moms |
Klippkort | Ja |
Planerad |
0 orter 0 tillfällen |
Utbildningsmål
Attendees will fully appreciate functional-style programming and the new idioms made possible by lambda expressions that make their code easier to read and understand. The course then explores the Streams API, which lets you write robust code that processes a collection of data in a declarative way. Attendees will fully appreciate what streams are and how they can use them in their programmes to process data collections concisely and efficiently.
- Pass code as parameters to methods using lambda expressions to make your code simpler and easier to understand.
- The course assumes a background in Java programming with Java 7.
- Leverage default methods to achieve evolution of interfaces while maintaining compatibility with older code.
- Process data with Java streams.
- Take advantage of stream parallel processing to achieve efficiency.
- Perform asynchronous programming with CompletableFuture.
- Read and write files using Java NIO.
Innehåll
Lambda Expressions
- Leveraging functional interfaces to pass code as data to methods
- Contrasting lambda expressions and anonymous classes
- Method references and constructor references
- Invoking higher order functions
Default Methods
- Evolving APIs
- Employing new usage patterns for default methods
- Invoking higher order functions
The Date and Time API and Other Changes
- Formatting and parsing with the Date and Time API
- Using Optional as a better alternative to null
- Expanding the use of annotations
Streams
- Leveraging streams to process data
- Contrasting external and internal iteration
- Facilitating common stream operations
- Invoking higher order functions
Collecting Data with Streams
- Implementing Collectors
- Reducing and summarising data
- Enabling grouping and partitioning
- Collecting data into Maps
Concurrency
- Executing parallel streams
- Dividing and conquering with Spliterator
- Comparing imperative data processing to streams
- Implementing an asynchronous API Important
Kursen levereras genom utbildningspartner: Learning Tree