JAVA

List Intersection, Union, & Unique JAVA

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 steps. package name.mymiller.extensions.utils; import java.util.ArrayList; import java.ut…
Pipeline Switches JAVA

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 determine if a switch pushes the data down an alternate pipeline? We have several…
Java Pipelines JAVA

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. This gave developers a powerful tool to use in development and data processing. I can't…
Not Returning Null JAVA

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 streams, I see that return NULL often adds additional complexity to the code.  In this article…
Java Development Tips JAVA

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 efficient manner is a priority for maintainability. In this article,…