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 Coder Sathi

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 Coder Sathi

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 Coder Sathi

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 Coder Sathi

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 Coder Sathi

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 Coder Sathi

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 Coder Sathi

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 Coder Sathi

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 Coder Sathi

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 Coder Sathi

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

  • Java String Tutorial
  • Java String Best Practices and Common Pitfalls
  • Java 8+ String Enhancements: New Methods and Best Practices
  • Java String Security: Handling Passwords, SQL, and User Input
  • Java Special Characters: Escaping, Unicode, and Text Blocks
  • Java Regex Tutorial: Pattern, Matcher, and Practical Examples
  • Java String Manipulation: Replace, Split, and Join
  • Java String Performance: Optimize Concatenation with StringBuilder
  • Java String Formatting Guide: printf(), String.format(), and More
  • Java String Comparison: equals(), ==, and compareTo() Explained
  • Privacy Policy
  • About CoderSathi.com
  • Contact
Copyright © 2025
Next Page »
  • Tutorial
    • Java Tutorial
    • Swing Tutorial
    • JDBC Tutorial
    • Java String Tutorial
    • Servlet and JSP Tutorial
  • Mongo DB
  • AWS
  • DevOps
  • Linux
  • Git