Skip to content
IT Interview Guide
  • About Me
  • Cloud Native
    • CICD
    • Containers
      • Docker
      • Kubernetes
    • DevOps
    • Microservices
  • Programming
    • C++
    • Golang
    • Java
    • JavaScript
      • Angular.js
      • Node.js
      • React.js
    • Python
  • Software Engineering
    • Design Patterns
    • OOAD
    • Testing

Custom Comparator

How to Create a Reverse Order Comparator in Java?

November 12, 2024 by Aditya Pratap Bhuyan

Learn how to create a reverse order comparator in Java with simple code examples and in-depth explanations. Understand how to use Comparator and Collections.sort() to sort elements in descending order.

Categories Java Tags Custom Comparator, Java Comparator, Java examples, Java Programming, Java Sorting, Reverse Order Comparator Leave a comment

How to Sort a Collection Using a Custom Comparator in Java?

November 12, 2024 by Aditya Pratap Bhuyan

Learn how to effectively sort a collection in Java using a custom comparator. This guide includes detailed examples, use cases, and best practices for sorting in Java, covering all necessary concepts and code examples.

Categories Java Tags Comparator, Custom Comparator, java, Java 11, Java 8, Java Collections, Java Collections Framework, Sorting, Sorting in Java Leave a comment

What Is a SortedMap in Java and How Can It Enhance Your Data Management?

October 31, 2024 by Aditya Pratap Bhuyan

Explore the concept of SortedMap in Java, its features, implementations, and practical examples. Understand how it can optimize your data handling with sorted key-value pairs.

Categories Java Tags Collections Framework, Custom Comparator, Data Structures, Java Collections, Java Development, Java Programming, Java Tutorials, Key-Value Pairs, SortedMap, TreeMap Leave a comment
  • C++
  • Java
  • Python
  • Uncategorized

Collections Collections Framework concurrency Data Structures Functional Programming generics java Java 8 Java 8 Features Java Best Practices Java Code Java Code Example Java code examples Java Collection Framework Java Collections Java Collections Framework Java Concurrency Java data structures Java Development Java examples Java Functional Programming Java generics Java List Java multithreading Java Performance Java Programming Java serialization Java Stream API Java Streams Java synchronization Java threads Java Tutorial Java Tutorials Lambda Expressions multithreading multithreading in Java object-oriented programming performance optimization Programming Software Development Stream API synchronization thread management thread safety type safety

  • How to Filter a Collection Using Streams in Java?
  • 300 Java Interview Questions for Beginners
  • What is the Stream API in Java 8 and How Does It Work?
  • What Are Lambda Expressions in Java and How Do They Work?
  • What is a Thread in Java and How Does It Work with Examples?
  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
© 2025 IT Interview Guide • Built with GeneratePress