Courses
Tutorials
Interview Prep
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.4K+ articles
Python
19.6K+ articles
Experiences
15.8K+ articles
Interview Experiences
14.5K+ articles
School Learning
11.1K+ articles
JavaScript
9.9K+ articles
Java
9.4K+ articles
Java - util package
1.6K+ articles
java-treeset
74+ articles
java-treeset-functions
4 posts
Recent Articles
TreeMap descendingKeySet() Method in Java with Examples
Last Updated: 16 November 2022
The descendingKeySet() method of TreeMap class returns a reverse order NavigableSet view of the keys contained within the map. The iterator of the set returns the keys in ...
read more
Java
Picked
Java-Collections
java-treeset
java-treeset-functions
TreeSet pollFirst() method in Java
Last Updated: 11 July 2025
The pollFirst() method of TreeSet in Java is used to retrieves and removes the first (lowest) element, or returns null if this TreeSet is empty.Syntax:E pollFirst()Where, ...
read more
Java
Technical Scripter
Picked
java-treeset
java-treeset-functions
TreeSet higher() method in Java with Examples
Last Updated: 23 December 2018
The higher(E ele) method of TreeSet class in Java is used to return the least element in this set which is strictly greater than the given element ele. If no such element ...
read more
Java
Java - util package
java-treeset
java-treeset-functions
TreeSet lower() method in Java
Last Updated: 23 December 2018
The lower(E ele) method of TreeSet class in Java is used to return the greatest element in this set which is strictly less than the given element. If no such element exist...
read more
Java
Java - util package
java-treeset
java-treeset-functions