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

Home » Java Collections » Page 4

Java Collections Tutorials

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

Examples of Conversion Between List and Set in Java

Examples showing ways to convert a Java List to Set, and a Set to List using plain Java, Google Guava, and Apache Commons Collections

Examples of Conversion Between Array and Set in Java

This tutorial illustrates how to Convert an Array to a Set, as well as Convert a Set to an Array using Java, Guava, and Apache Commons API

Understand Arrays.asList vs new ArrayList( Arrays.asList )

This tutorial covers difference between Arrays.asList() and new ArrayList(Arrays.asList) with the help of examples

Mapping Lists of different elements types using Model Mapper

Learn How to Map Java Lists of different element types using ModelMapper Library. Covert a list of a bean to list of different bean in Java.

Parse JSON Strings in Java Objects with Gson API

This tutorial covers How to Parse Json in Java. You will learn to use Gson API to convert JSON Strings into Java Objects with examples.

Convert Java Objects To JSON with Gson API

In this tutorial we will learn to use Gson API to convert Java Objects or POJOs to JSON and Convert JSON String to Java Objects.

Posts pagination

< Prev 1 … 3 4 5 … 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.