Core Java
-
Java SE 8 new features tour: Functional programming with Lambda Expression
This article of the “Java SE 8 new features tour” series will deep dive into understanding Lambda expressions. I will…
Read More » -
Getting an Infinite List of Primes in Java
A common problem is to determine the prime factorization of a number. The brute force approach is trial division (Wikipedia,…
Read More » -
Parsing an Excel File into JavaBeans using jXLS
This post shows how you can use jXLS to parse an Excel file into a list of JavaBeans. Here is…
Read More » -
Adding @atomic operations to Java
Overview How might atomic operations work in Java, and is there a current alternative in OpenJDK/Hotspot it could translate to.…
Read More » -
How to use CopyOnWriteArraySet in Java with Example
CopyOnWriteArraySet is little brother of CopyOnWriteArrayList class. These are special purpose collection classes which was added on JDK 1.5, along…
Read More » -
Type safe dependency injection using Java 8.0
So I sometimes really miss old school Dependency Injection. Back when Spring was still “lightweight” we happily configured all our…
Read More » -
A closer look at the Java Identity API
Before I jump into the nitty-gritty, let’s take a look at some of the quick facts about Java Identity API…
Read More » -
Getting Started with Gradle: Our First Java Project
This blog post describes how we can compile and package a simple Java project by using Gradle. Our Java project…
Read More » -
Difference between Abstract Class and Interface in java
Some of the popular interview questions are “What are the differences between abstract class and interface”, “When will you use…
Read More »