Mostrar mensagens com a etiqueta Lambdas. Mostrar todas as mensagens
Mostrar mensagens com a etiqueta Lambdas. Mostrar todas as mensagens

18 junho 2015

JDK 8 Massive Open and Online Course: Lambdas and Streams Introduction

  • 14-JUL-2015 03:00:00 PM GMT
  • 4-AUG-2015 07:00:00 PM GMT
  • Java SE 8 (JDK 8) introduced a fundamentally new way of programming in Java with the introduction of Lambda expressions.
    Lambda provides a simple way to pass functionality as an argument to another method, such as what action should be taken when someone clicks a button, or how to sort a set of names. Lambda expressions enable you to do this, to treat functionality as a method argument, or code as data.
    You may have heard about Lambda expressions, and are curious what impact it will have on you as a Java developer.
    This course is designed to answer your questions and more.
    Have you ever wondered what Lambda expressions are in Java?
    Have you ever wanted to write parallel code in Java without worrying about threads and locking?
    Have you ever wanted to process collections of data without using loops?
    Have you ever wanted to do functional programming in Java?
    All of these questions will be answered in this practical hands-on MOOC. This course introduces two major new changes to the Java platform: Lambda expressions and the Stream API.
  • Free!
  • 3 weeks
  • Unlike a traditional instructor-led event, the course is delivered on-line.
    Take this course when you want, where you want, and at your own pace.
    Interact with your peers and the instructor panel through the forum.
    Each week we will post a new set of course materials:
    • A series of short, pre-recorded videos provide the "lecture" portion of the course.
    • A homework project is linked to the video material, and applies what you have learned by working with Lambdas and Streams.
    • A graded quiz evaluates how well you have grasped the materials and the homework.
  • 3 - 4 hours weekly
  • Based on successfully completing the course quizzes, you will receive a course completion award, suitable for printing and framing!
  • English
    • Apply Lambdas to everyday problems
    • Convert anonymous classes to Lambda expressions
    • Apply the Streams API to solve problems of sorting, identifying the most and least, and reducing duplicates
    • Determine when to apply Lambdas (and when not to!)
    • Use Collectors
    • Improve performance with parallel streams
    • Debug Lambda expressions


22 julho 2014

InfoQ eMag: Java 8


Contents of the Java 8 eMag include:

  • Java 7 Features That Enable Java 8 - In this article, Ben Evans explores some features in Java 7 which laid the groundwork for the new features in Java 8.
  • How Functional Is Java 8? - It's been said that Java 8 is bringing Functional Programming to Java. By looking at the evolution of Java - particularly its type system, we can see how the new features of Java 8, especially lambda expressions, change the landscape, and provide some key benefits of the functional programming style.
  • Clarifying Lambdas in Java 8 - Simon Ritter discusses the syntax and use of Lambda expressions, focusing on using Streams to greatly simplify the way bulk and aggregate operations are handled in Java.
  • Intuitive, Robust Date and Time Handling Finally Comes to Java - Date and time are fundamental concepts to many applications, yet Java SE had no good API to handle them; until now! With Java SE 8, java.time provides a well-structured API to cover date and time. In this article, JSR-310 (Java Date and Time API's) spec-lead and Joda Time author Stephen Colbourne discusses the new API's as well as the background for Date and Time handling in Java 8.
  • Type Annotations in Java 8: Tools and Opportunities - With Java 8, annotations can be written not only on declarations, but on any use of a type such as types in declarations, generics, and casts. This article introduces the new type annotation syntax and practical tools to boost productivity and build higher-quality software.
  • Where Has the Java PermGen Gone? - Prior to JDK8 class metadata and constants would live in an area called the “permanent generation”, contiguous with the Java heap. One problem was that If the class metadata size is beyond the allocated bounds your app would run out of memory. With the advent of JDK8 we no longer have PermGen. The space where it was held has now moved to native memory to an area known as the “Metaspace”.
  • Nashorn: The Combined Power of Java and JavaScript in JDK 8 - With JDK 8, Nashorn replaces Rhino as Java’s standard JavaScript engine for the benefit of improved performance and compatibility. Avatar.js brings the popular Node framework’s programming model to Nashorn, enabling many JavaScript server applications to run in a Java environment. In this article JavaScript expert Oliver Zeigermann explains the hows and the why's.
  • Great Java 8 Features No One's Talking about - In this article Tal Weiss focuses on some lesser known API's in the new Java 8.