Java 8

Java 8 – Date Time API

Introduction Java 8 comes with a much improved and much required change in the way date and time is handled. Almost all of us have experienced the pains of working with date in java. Most of us have switched to Joda Time, but java 8 has changed that with a much cleaner and more extensive […]

Java 8 – Streams

Introduction In the first article we learned about Lambdas, functional interfaces and method references introduced in Java 8. In the previous article we saw some of the new methods added in the Collections hierarchy. In this article we look at what is probably the most important addition to Java since generics – Streams. Streams make […]

Java 8 – New methods in Collections

Introduction In the first article we learned about Lambdas, functional interfaces and method references introduced in Java 8. In the previous article we saw default methods in interfaces and their inheritance rules. In this article we look at the new default methods added in the Collections hierarchy. Many of the new methods make use of […]

Java 8 – Default Methods, inheritance

Default Methods In the previous article we learned about functional programming using lambdas introduced in java8. We also learned about functional interfaces and method references. In this tutorial we will look at a side effect in Java8 – Default methods. The designers in Java always strive for backward compatibility, and so to add methods to […]

Java 8 – Lambdas, Method References and Composition

Introduction The introduction of functional programming in Java8 has caused quite a buzz amongst java enthusiasts. It is probably the biggest change in Java since the introduction of generics. Java has lacked this feature which has been quite popular in other languages such as Lisp, Clojure, Haskell, R etc. In this slightly length..ish tutorial we […]

Scroll to top
Bitnami