Almost every software/tool that developers use on their job these days are extensible in some ways. If we can use…
Category: Apache / Google Libraries
In this article we will develop a simple custom maven plugin. Maven plugin example in this article Attach a goal…
This article provides all the ways of reading file into a String in Java along with performance statistics. Performance statistics…
This article covers all aspects of predicates in Java (java.util.function.Predicate, java.util.function.BiPredicate), Google API Guava (com.google.common.base.Predicate) & Apache API commons-collection (org.apache.commons.collections4.Predicate)…
This article provides some methods from Apache & Google libraries which can help to quickly refactor code without much impact…
As you might now, important part of HashMap is hash function which determines which bucket that key-value pair will go…
Constant map of constant values If you want constant instance variable of type Map with some constant values populated in…
Simple way for validating email id format Almost every application needs to validate email id format one way or another.…
Simple way to implement equals() & hashcode() For any POJO classes with multiple attributes, generally equals & hashcode implementation is…