Tag

collection-framework

Browse practical tutorials, guides, and examples from this archive.

11 articles

Latest Articles

Comparator in Java

Comparator in Java

Comparator in Java is an interface that belongs to the java.util package. It’s designed to facilitate the comparison…

November 11, 20234 min read

ArrayList in Java

ArrayList in Java

ArrayList in Java represents a dynamic array structure, providing a flexible and user-friendly approach to managing collections. Unlike…

January 25, 20222 min read

TreeSet in Java

TreeSet in Java

The TreeSet in Java is a class that implements the Set interface, offering a collection of elements that…

August 27, 20215 min read

HashSet in Java

HashSet in Java

HashSet in Java is a part of the Java Collections Framework, which provides a dynamic and flexible approach…

August 27, 20214 min read

Set in Java

Set in Java

A Set in Java is a collection that does not allow duplicate elements. It ensures that each element…

August 27, 20213 min read