Posts related to tag: set


Java 8 – How to sort Set with stream.sorted()

In this quick tutorial, we’ll learn how to sort Set in Java 8. stream.sorted() is a predefined method of Stream […] Continue reading »

How to set maximum line length in Eclipse/STS

This guide will help you to set maximum line length in Eclipse/STS for auto-formatting. Nowadays most of the Java developer […] 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 »