Java 8 – How to remove an entry from HashMap by comparing values ?
In this article, we will discuss how to remove an entry or entries from HashMap using Java 8 APIs Before proceeding further, it is recommended Read More
In this article, we will discuss how to remove an entry or entries from HashMap using Java 8 APIs Before proceeding further, it is recommended Read More
In this article, we will discuss various possibilities when ConcurrentModificationException is thrown and its resolution with respect to HashMap Often, this term is quite confusing. So, we Read More
In this article, we will discuss how to merge two arrays and then sort according to natural order i.e.; ascending order. Well, by passing Comparator Read More
In this article, we will discuss how to sort Arrays in both ascending and descending order 1. Sorting Arrays in Ascending order : Passing original/actual Read More
In this article, we will discuss how to sort String[] array with example Arrays class has various sort methods for sorting different primitive data-types and Read More
In this article, we will discuss how to sort long[] array with example 1. long: Size is 8 bytes That’s is 64 bits Its range Read More
In this article, we will discuss how to sort double[] array with example 1. double: Size is 8 bytes That’s is 64 bits Its range Read More
In this article, we will discuss how to sort float[] arrays with example 1. float: Size is 4 bytes that’s is 32 bits Its range Read More
In this article, we will discuss how to sort int[] array with example 1. int Size is 4 bytes That’s is 32 bits Its range Read More
In this article, we will discuss how to sort short[] array with example short: Size is 2 bytes Its range is -32,768 to 32,767 Arrays Read More
In this article, we will discuss how to sort char[] array with example 1. char: Size is 2 bytes Its range is 0 to 65,536 Read More
In this article, we will discuss how to sort byte[] Arrays with example 1. Byte: Size is 1 byte Its range is -128 to 127 Read More
In this article, we will discuss how to sort HashSet in 2 ways. Already, in one of the earlier article we discussed about HashSet sorting Read More
In this article, we will discuss how to convert List into Map in Java 8 Already, in the last article we have discussed how to Read More
In this article, we will discuss how to convert List into Map in Java 1. List v/s Map: Before starting with List to Map conversion, Read More
In this article, we will discuss how to convert Map into List in Java 1.8 version Conversion of Map to List in Java 8 : Read More
In this article, we will discuss how to convert Map into List in Java As Map contains key-value pairs which is called as Map entries, Read More
In this article, we will discuss how to convert Arrays into List in Java 8 using Streams class Conversion of Arrays to List : Until Read More
In this article, we will discuss various ways to remove duplicate elements from Arrays in Java i.e.; Ways to remove duplicate elements from Arrays: Using Read More
In this article, we will discuss how to remove duplicate elements from ArrayList in Java Already, we have discussed in one of the earlier article Read More