ListUtils.size()
Simple yet handy method for your ListUtils class. Handle if null, and return the number of elements in the list. Effective and simple.
List Intersection, Union, & Unique
Ever have two lists that you need to pull the unique elements from? Or need to pull the elements in both? Here is a ListUtils class for doing just those…
Pipeline Switches
One of the things that make pipelines attract is the ability to create switches. Now my question to you is what if it isn’t the data your processing that should…
Java Pipelines
Java streams introduced a new way to program for developers. Have a dataset and build a stream to filter, it maps it, and then collect it in the new form.…
Not Returning Null
We all have done it, in fact, I’m in the process of changing my APIs over to not do. Returning NULL for a return type. After doing some work with…
Java Development Tips
Java-based servers or applications often have to deal with large amounts of data. Whether the data is from a database, or from a local file, processing this data in an…