Skip to content
amitph
  • Home
  • Spring
  • Java
  • Java 8
  • About

Home » Java Collections » Page 5

Java Collections Tutorials

Java Collections is a framework that supports various data structures and related operations

Read JSON Strings into Java Objects with Jackson API

A guide to use Jackson to Map JSON Strings into Java Objects. Examples include JSON String to Java Objects and JSON Strings to Java Map.

Convert Java Objects To JSON with Jackson API

A guide on How to Serialise Java Objects and Maps into JSON. We will cover examples of converting Custom Java Objects to JSON and Map to JSON.

How to Merge Multiple Collections in Java

Learn different techniques to merge or concatenate multiple collections together in Java with the help of practical examples

How to Initialize a List Inline in Java

Examples of initializing mutable and immutable Java ArrayList in the same line using factory method, Stream, Collections, and Arrays

How to Partition List in Multiple Sublists in Java

Examples of dividing a Java List or Collection into multiple sublists of the same size using Guava, Apache Commons, and Plain Java

How to Remove Duplicate Elements from a Java List

Examples of removing the duplicate elements from a Java List, by using Java Streams API or by using Java Set implementation

Posts pagination

< Prev 1 … 4 5 6 … 8 Next >
https://www.amitph.com

Topics

  • Java
  • Scala
  • Spring

Resources

  • About
  • Contact us
  • Java Tutorials
  • Spring Tutorials
  • Java Streams and Lambdas
  • Learning Scala
  • Home
  • MongoDB Fundamentals – Book

Latest

  • Sorting Collection of Objects by Multiple Fields in Java
  • Case-Insensitive Search in Java ArrayLists
  • Flattening Nested Lists in Java
  • Finding the Difference Between Two Java Sets
  • Comparing Two Lists In Java
© 2025 amitph.