Templates by BIGtheme NET

JAVA 8

Java 8 Default Methods

In this Article, I will show How to work with Java 8 Default method implementation for Interface. This is one of the useful java 8 feature. What is Default methods in Java 8? Default methods enable us to add new functionalities to interfaces without breaking the classes that implements that interface. Prior to Java 8, Adding a new method to ...

Read More »

How to find Hidden file list in directory JAVA 8

In this article, I will show how to get hidden files list of a given directory using JAVA 8. Tools Used : 1) eclipse version Luna 4.4.1. 2) Maven 3.3.3 3) JDK 1.8 Simple steps to follow are : 1) Create a simple maven project. 2) Write a simple java program to get hidden file list of given directory. 3) ...

Read More »

How to Calculate word frequency using JAVA 8

In this article, I will show how Calculate word frequency of a given list of strings using JAVA 8. This is helpful while analyzing big data, we can get some phrases that most users are using for searching. Tools Used : 1) eclipse version Luna 4.4.1. 2) Maven 3.3.3 3) JDK 1.8 Simple steps to follow are : 1) Create ...

Read More »

How to read JSON object using JAVA 8

In this article, I will show how read JSON object using JAVA 8. Tools Used : 1) eclipse version Luna 4.4.1. 2) Maven 3.3.3 3) JDK 1.8 Simple steps to follow are : 1) Create a simple maven project. 2) Add the dependencies. 3) Write a simple java program to read JSON object from file. 4) Run the program. Add ...

Read More »

JAVA 8 Feature Lambda expressions

In this article, I will show you how lambda expressions can be used in projects and how these expressions are help to do clean coding. How to role out our own functions, and call those with lambda expressions. How these lambda expressions are differ from closures. Is lambda expressions are completely new feature in Java 8? – Answer is No ...

Read More »

JAVA 8 Feature – Streams

In this article, I will show you how Streams java.util.stream can be useful with examples. Immediate questions comes to mind, Is it a new class in java collection framework? – Answer is NO Is it a new Interface in java collection framework? – Answer is NO Another question is, is it to be with java.io. package’s? – Answer is NO ...

Read More »