Skip to content

Menda0/java-lambda-examples

Repository files navigation

Java Lambda Examples

This is some examples using Java 8 lambda functions.

paypal

Objectives

  • Basic helloworld with lambda function
  • Creating Functional Interfaces
  • Using previows interfaces wich were promoted to Functional Interfaces(Ex: Runnable)
  • Using default Functional Interfaces of Java8 (Ex:Predicate)
  • New funcionalities in some common classes of Java who now use Lambda functions(Ex:Method foreach of Interface List)

Compile

javac Example1.java Example2.java Example3.java Example4.java Example5.java

Run

Use the Main method accordingly (Ex: Example1 or Example2, etc)

java Example1

Releases

No releases published

Packages

No packages published

Languages