Collections
-
Core Java
Assert Collection of JSON Objects Ignoring Order Example
1. Introduction JavaScript Object Notation (JSON) is a text-based format for storing and transporting data. In this example, I will…
Read More » -
Core Java
Handle Null Values In ArrayList.addAll()
The ArrayList class in Java is a commonly used data structure. One of its methods, addAll(), allows us to add…
Read More » -
Core Java
Java Arrays Sort decoded
Sorting is one the first algorithm that we learn in computer science. Sorting is such an interesting area that it…
Read More » -
Core Java
9 differences between Array and ArrayList in Java
Both array and ArrayList are two important data structures in Java and are frequently used in Java programs. Even though…
Read More » -
Core Java
10 Examples of using ArrayList in Java – Tutorial
ArrayList in Java is the most frequently used collection class after HashMap. Java ArrayList represents an automatic re-sizeable array and used…
Read More » -
Core Java
Leaner Java Collections with FastUtil
In response to my recent post Discovering a Trove of Java Primitives Collection Handling on the GNU Trove library, TheAlchemist…
Read More » -
Core Java
An introduction to optimising a hashing strategy
Overview The strategy that’s used for hashing keys, can have a direct impact on the performance of a hashed collections…
Read More » -
Core Java
Optional in collections
Sometime it is argued that the type Optional is worth being used in collections. It allegedly solves the problem of…
Read More »