Posts related to tag: collection


Java 9- Creating Collection using Factory Method of(…)

Java 9 introduced static factory method of(...) to create the unmodifiable collection instance for the List, Set, and Map. It […] Continue reading »

Check HashSet contains element case insensitive in Java

In this example, we will show you how to check HashSet contains element case insensitive in Java. contains() method of […] Continue reading »