
Java 8 – Find duplicate count from Integer arrays ?
In this article, we will discuss how to find the desired result from the Integer[] arrays for the problem statement given below 1. Problem statement Read More
In this article, we will discuss how to find the desired result from the Integer[] arrays for the problem statement given below 1. Problem statement Read More
In this article, we will discuss difference between extending a Thread class and implementing a Runnable interface for creating a new Thread 1. Thread class Read More
In this article, we will discuss how to store/put multiple values for single key in HashMap Sometimes, we might require to store multiple values for Read More
In this article, we will discuss how to convert List into Stream in Java 1.8 version using stream() method 1. Using stream() method List to Read More
In this article, we will discuss different types of interface starting from Java 1.0 till Java 1.8 version. 1. interface – before Java 1.8 version Read More
In this article, we will discuss how to sort list of Objects on multiple field/parameters using static method Comparator.comparing() and default method thenComparingDouble() Comparing.comparing() method is Read More
In this article, we will discuss how to sort list of Objects on multiple field/parameters using static method Comparator.comparing() and default method thenComparingLong() Comparing.comparing() method is Read More
In this article, we will discuss how to sort list of Objects on multiple field/parameters using static method Comparator.comparing() and default method thenComparingInt() Comparing.comparing() method is Read More
In this article, we will discuss how to sort list of Objects on multiple field/parameters using static method Comparator.comparing() and default method thenComparing() for custom/reverse sorting Read More
In this article, we will discuss how to sort list of Objects on multiple field/parameters using static method Comparator.comparing() and default method Comparator.thenComparing() 2-level attribute sorting Read More
In this article, we will discuss how to sort list of Objects on the basis of specific double parameter/field using Java 8 Comparator’s static method Read More
In this article, we will discuss how to sort list of Objects on the basis of specific long parameter/field using Java 8 Comparator’s static method Read More
In this article, we will discuss how to sort list of Objects on the basis of specific integer parameter/field using Java 8 Comparator’s static method Read More
In this article, we will discuss how to sort list of Objects on the basis of any one parameter/field using Java 8 Comparator’s static method Read More
In this article, we will discuss how to sort list of Objects on the basis of any one parameter/field using Java 8 Comparator’s static method Read More
In this article, we will discuss how to sort list using Java 8 Comparator’s default method – reversed() which returns a comparator for sorting in Read More
In this article, we will discuss how to sort a TreeMap entries (or key-value pairs) in descending-order by its Key in Java 8 using Stream‘s Read More
In this article, we will discuss how to sort a LinkedHashMap entries (key-value pairs) by its Value in Java 8 using Stream‘s sorted() method and Read More
In this article, we will discuss how to sort a LinkedHashMap entries (or key-value pairs) by its Key in Java 8 using Stream‘s sorted() method Read More
In this article, we will discuss different ways to sort a Map entries (key-value pairs) by its Value Before proceeding with this sorting examples understand Read More