Optimise conditional expression with Java 8 Predicates

Hi Folks, When we do coding then it is very common need to evaluate conditions which yield to true and false.  There can be many scenarios where we use to evaluate conditions as below: String variable which needs to be verified for null or empty A list of objects which needs to be verified for … Continue reading Optimise conditional expression with Java 8 Predicates