Skip to content
CoderSathi
  • Tutorial
    • Java Tutorial
    • Swing Tutorial
    • JDBC Tutorial
    • Java String Tutorial
    • Servlet and JSP Tutorial
  • Mongo DB
  • AWS
  • DevOps
  • Linux
  • Git

collection-framework

Comparator in Java

February 13, 2025November 11, 2023 by Yuba Raj Kalathoki

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

Read More Comparator in Java

How to use Comparator with Array in Java?

October 2, 2023August 27, 2023 by Yuba Raj Kalathoki

In the following example, we’ve defined two custom comparators: AscendingComparator and DescendingComparator. These comparators implement the Comparator interface and override …

Read More How to use Comparator with Array in Java?

Collection Interface in Java

February 13, 2025April 6, 2023 by Yuba Raj Kalathoki

The Collection interface in Java serves as the foundation for the Java Collections Framework. Which provides a unified architecture for …

Read More Collection Interface in Java

LinkedList in Java

August 27, 2023January 30, 2022 by Yuba Raj Kalathoki

LinkedList is a widely used data structure in the Java programming language. It is a part of the Java Collection …

Read More LinkedList in Java

Create LinkedList in Java

August 27, 2023January 26, 2022 by Yuba Raj Kalathoki

In this blog post, we will learn to create a LinkedList in Java. There are two types of LinkedList. Singly …

Read More Create LinkedList in Java

ArrayList in Java

February 13, 2025January 25, 2022 by Yuba Raj Kalathoki

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

Read More ArrayList in Java

TreeSet in Java

February 13, 2025August 27, 2021 by Yuba Raj Kalathoki

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

Read More TreeSet in Java

HashSet in Java

February 13, 2025August 27, 2021 by Yuba Raj Kalathoki

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

Read More HashSet in Java

Collections Class in Java

February 13, 2025August 27, 2021 by Yuba Raj Kalathoki

Serving as a centralized point, the Collections class provides utility methods for collection operations. Sorting, shuffling, searching, and synchronization can …

Read More Collections Class in Java

Set in Java

February 25, 2025August 27, 2021 by Yuba Raj Kalathoki

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

Read More Set in Java

Older posts
Page1 Page2 Next →
+ Load More Post

Recent Posts

  • How to Fix “Public Key Retrieval is not allowed” MySQL JDBC Error
  • Complete Guide to JaCoCo: How to Measure Java Code Coverage Accurately
  • How to Create a Google App Password: Full Step-by-Step Guide
  • How to Fix “Files Showing as Modified” in IntelliJ IDEA on macOS
  • How to Fix NoClassDefFoundError: javax/xml/bind/DatatypeConverter in Java (Java 11+)
  • How to Connect Java Application to a Remote Database Using an SSH Tunnel (with Spring Boot Examples)
  • How to Convert JSON Array to Java List (With Examples)
  • Configure CORS in Spring Cloud Gateway (WebFlux & WebMVC)
  • Java String Tutorial
  • Java String Best Practices and Common Pitfalls
  • Privacy Policy
  • About CoderSathi.com
  • Contact
Copyright © 2026
Next Page »
  • Tutorial
    • Java Tutorial
    • Swing Tutorial
    • JDBC Tutorial
    • Java String Tutorial
    • Servlet and JSP Tutorial
  • Mongo DB
  • AWS
  • DevOps
  • Linux
  • Git