• Home
  • Contact
  • Please wait...

Java: How to Get the Last Element From a List

The last shall be first.

Java: Pare Down That List With removeIf()

It's pretty easy to trim a List object.

Java Streams: How to Convert a List Into a Sorted Map

Good for categorizing complex objects.

Java: How to Break a List Into Batches Using Streams

With just a few lines, you too can create chunks!

Java: How to Tell If an Object in One List Is Also in Another List

Time to learn about disjoint().

Java: How to Convert a List to a Map

Same data. Different look.

Jackson Deserialization: How to Convert a JSON Array to a Java List or Array

Sometimes you need a List. Sometimes you need an array.

Java Streams: How to Sort Your Elements

Need to sort elements in a Stream sequence? That's the easiest thing in the world to do.

Java Streams: Eliminate Duplicates in Your List With distinct()

Need to trim the fat from your List? Gotta get rid of some unwanted duplicate elements? If so, then have a look at the distinct() method on Stream.

Java Streams: How to Use map() to Transform Your Data Into Meaningful Insights

Raw data doesn't do management any good. They need the numbers transformed into something readable and meaningful.
12 »
Home
Cookies Policy
Terms of Service
Privacy Policy