Spring Boot Tutorial
Spring Boot favours convention over configuration and is designed to get developer running application as quickly as possible. Spring Boot uses completely new way of Java …
Guide to Java 8 Optional
Optional class was introduced in Java 8. The purpose of using the class is to provide a type-level solution for representing Optional values instead of null …
About generics
Arrays in Java have always been type-safe : for example, an Array declared as type String (String ) cannot accept Integers (or ints) or anything other …
About enum
As of Java 5, Java lets developers restrict a variable to having one of only a few predefined values – in other words, one value of …
Understanding Executors
Executors (and ThreadPools used by them) help meet two of the same needs that Threads do: With Executors, developer handles need 1. ThreadPools help in handling …
About ThreadFactory
java.util.concurrent.ThreadFactory itself is an interface. Its implementations are objects that create new threads on demand. Using thread factories eliminates the need of calls to new Thread. …