Functional java

Understanding Java enums

Java 8 Features With Examples

Reading Time: 3 minutes In this blog, we will learn about the java 8 features and why java 8 is so much popular. After java 8 Java has started supporting the functional style of programming with its Java 8 release. The basic idea of why java enables functional programming is concise the code, less complex, easy to understand, and easy to testing compare to legacy coding styles. Here are Continue Reading

Optional Class in java 8

Reading Time: 2 minutes In this blog, we will understand what is the optional class and do we really need it? When you start writing the code in any project and one thing you always care that is the Null pointer exception and we apply many checks to prevent this error and try that error Never come in our code. that’s why we want something so that we can Continue Reading

Lambda Expression in Java 8

Reading Time: 3 minutes In this blog we will understand what is the lambda expression and why we need lambda expression and how we use lambda and about the functional interface. What is Lambda Expression : It is an anonymous function. Not having name No return type and no modifiers. Syntax of Lambda : The syntax of a lambda consists of the following: A comma-separated list of formal parameters Continue Reading

Introduction to Java Stream API

Reading Time: 3 minutes Hi friends in this blog we are going to cover streams, parallel streams and some of the popular function associated with them with example. Introduction Streams are wrappers around data source, which make data processing in bulk easier and fast. A stream is not a data structure i.e. it does not store data. Stream is defined in java.util.stream package. Different ways to create Streams 1) Continue Reading

Understanding Java enums

Introduction to JAVA COLLECTIONS

Reading Time: 2 minutes In this blog we will understand basics of JAVA Collections framework. What are JAVA Collections and Why do we need them? The Collection in Java is a framework that provides an architecture to store and manipulate the group of objects. Collections are like containers that group multiple items in a single unit. For example, a jar of chocolates, a list of names, etc. Collections are used in Continue Reading

Getting started with GraphQL

Reading Time: 2 minutes The world is a stage where all of us are artists. Constant learning is the foundation of success. So, here we are going to learn about a query language introduced by Facebook back in 2015, which is GraphQL. In this blog, we will cover the basics of GraphQL. Overview GraphQL is a query language(that’s what QL stands for) for your API and a server-side runtime Continue Reading

Proxy Design Pattern in JAVA #6

Reading Time: 2 minutes In this blog, we will discuss Proxy Design Pattern, its example, and how it is different from the other design patterns. But, it’s important to have an understanding of the design patterns first. You can refer here. What is a Proxy A Proxy is something that has the authority to do some activity on behalf of the original object. For example, when you are busy Continue Reading

The Concept of Date and Time in Java-8

Reading Time: 3 minutes Hi guys, Let’s discuss the concept of Date and Time in Java 8. Well, it was already there then why again in java 8? That is because previously we have many issues in working. So, there are many improvements in java 8 which we will see here. Advantages over old Date-Time API First, we see how the new API is better than the older one: Continue Reading

Operations in Java Streams

Reading Time: 3 minutes Hi guys, with release of Java 8 we get new features like lambda functions, streams etc. and in this blog we are going to have an overview of Streams.Streams reduces the effort for using and accessing the elements in any Collection. So here we will see what are different types of operation in Streams and when to use them. Streams Definition Streams are used when Continue Reading