Core Java Tutorials & Examples This project contains Core Java code samples that are used as examples on amitph tutorials. List of popular tutorials Understanding Java 8 Streams API Understand Arrays.asList vs new ArrayList( Arrays.asList Sort HashMap by Value or Key in Java Read JSON Strings into Java Objects with Jackson API Parse JSON Strings in Java Objects with Gson API Merging two Maps in Java Mapping Lists of different elements types using Model Mapper List Files and Subdirectories from a Directory in Java Java 8 Streams API – Stream Collectors Java 8 Streams – Terminal Operations Java 8 Streams – Terminal Operations Java 8 Streams – Laziness and Performance Java 8 Streams – Intermediate Operations Introduction to Java TreeSets With Examples Introduction to Java LinkedHashSet With Examples Introduction to Java HashSets With Examples Introduction To Java Collections Introduction to Java Collections Set Interface Introduction to Java Collections Map Interface Introduction to HashMap in Java with Examples How to write Java Streams Custom Collector How to Remove Duplicate Elements from List in Java How to Partition List in Multiple Sublists in Java How to Merge Multiple Collections in Java How to Merge Multiple Collections in Java How to Initialize a List Inline in Java How to Initialize a HashSet Inline in Java How to Initialize a HashMap Inline in Java Filtering a Map in Java Examples of Converting List to Map using Streams Examples of Conversion Between List and Set in Java Examples of Conversion Between Array and Set in Java Examples of Conversion Between Array and List in Java Converting Between Array of Primitives to Array of Objects Convert List to Concatenated String with Delimiter in Java Convert Java Objects To JSON with Jackson API Convert Java Objects To JSON with Gson API Comparator with Java Lambda Expression Examples ‘At First Sight’ With Closures in Java (old) Sorting Collections with Java Streams API Interfaces In Java Abstract classes in Java Default Methods in Java Interfaces Static Methods in Java Interfaces How to Add an Element to a Java Stream Getting the Last Element of a Java Stream How to Remove Duplicate Elements from a Java List Count and Remove Duplicates from a Java Stream Negate a Java Predicate and Method Reference Java Streams filter() with Lambda Expressions Create a Java Stream of Random Numbers Merging Multiple Java Streams Chaining Multiple Java Predicates Together Java HashSet Sorting Examples Check if Two Java Lists are Equal Asserting Java Lists for Equality Ignoring the Order Finding the Differences Between Two Java Lists Comparing Two Lists In Java Finding the Difference Between Two Java Sets Flattening Nested Lists in Java Case-Insensitive Search in Java ArrayLists Sorting Collection of Objects by Multiple Fields in Java How to use Clone the project using ~ git clone https://github.com/amitrp/java-examples.git