Java 8 - Novas Funcionalidades

Share on facebook
Share on twitter
Share on linkedin
Share on whatsapp
Share on email
Print Friendly, PDF & Email
Limpar

790

Nível Intermédio | 3 dias | 21 horas

Apresentação

Este curso fornece experiência prática com expressões lambda introduzidas no Java 8, além de muitas outras alterações na linguagem e nas bibliotecas. Os participantes obterão uma apreciação completa da programação em estilo funcional e os novos idiomas tornados possíveis pelas expressões lambda que tornam o código mais fácil de ler e entender. O curso explora Streams API, que permite escrever um código poderoso e que processa um conjunto de dados de maneira declarativa. Os participantes terão uma apreciação completa do que são streams e como podem usá-los nos seus programas para processar coleções de dados de forma concisa e eficiente.

Objetivos

  • Pass code as parameters to methods using lambda expressions to make your code simpler and easier to understand
  • Manipulate, format and parse dates with the Date and Time API
  • 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

Pré-Requisitos

This course is for anyone developing Java applications who has core Java SE skills and wishes to capitalize on the addition of lambda expressions and streams library in Java 8 to create less error-prone and simpler concurrent programs. The course assumes a background in Java programming with at least Java 7.

Programa

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 summarizing 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

Pedido de Informação