Skip to content

jacobpun/java8-experiments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 

Repository files navigation

java8-experiments

Trying out the new features in Java8

LamdaExpressions:

  • Demo01 - A simple Hello World Example using Lambdas
  • Demo02 - Array Sorting example using Lambdas
  • Demo03 - Lambdas and local variables
  • Demo04 - Static Method references example
  • Demo05 - Constructor Method Reference Example
  • Demo06 - Instance Method Reference Example
  • Demo07 - Implementing the "run" method of a Thread using Lambdas
  • Demo08 - java.util.function.Predicate Example
  • Demo09 - java.util.function.Function Example
  • Demo10 - java.util.function.BiFunction Example
  • Demo11 - java.util.function.Consumer Example
  • Demo12 - java.util.function.Supplier Example
  • Demo13 - java.util.function.BinaryOperator Example
  • Demo14 - Variable Scoping Demo
  • Demo15 - Chaining Predicates
  • Demo16 - Chaining Functions
  • Demo17 - Chaining Consumers

Streams:

  • Demo01 - forEach demo
  • Demo02 - map demo
  • Demo03 - filter & findFirst demo
  • Demo04 - reduce demo
  • Demo05 - collectors Demo
  • Demo06 - limit & skip Demo
  • Demo07 - sort, min, max, distinct Demo
  • Demo08 - allMatch, anyMatch & count Demo
  • Demo09 - Infinite stream demo

About

Experiments with Java 8

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages