Examples showing ways to convert a Java List to Set, and a Set to List using plain Java, Google Guava, and Apache Commons Collections
Java Collections Tutorials
Java Collections is a framework that supports various data structures and related operations
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.