Record Patterns in Java 21: Simplifying Data Extraction
Java 21 introduces record patterns, a powerful addition to the pattern matching arsenal. This feature streamlines the extraction of components from record classes, making code more concise and readable. What…
ListUtils Page
Ever have a list, that you need to paginate through? I certainly have, I created a simple method to ListUtils to make it easier. Several things had to be taken…
Geo – Line
One of the simplest shapes we can make is GeoLine. It consists of two GeoLocations the start, and end of the line. The line is the simplest of shapes but…
ListUtils.safe()
Sometimes you need to guarantee a list is safe to use. A simple method can make sure your safe to use the list, or have an empty list that would…
Geo – Location
So we have Latitude and Longitude, putting those together we have a location now. That is simple enough, but once we have a location, we can use that to derive…
ListUtils isEmpty() & notEmpty()
Standard isEmpty() and notEmpty() methods for a ListUtils class. Nothing fancy, just simple methods and functionality. See the entire ListUtils series.