What is the descendingSet() method of the NavigableSet interface?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is the descendingSet() method of the NavigableSet interface?
Rating:
The descendingSet() method of the NavigableSet interface returns a navigable set in which the elements of the set are arranged in descending order. This method returns a set that is similar to the result of the Collections.reverseOrder(comparator()) method. The expression s.descendingSet().descendingSet() returns a set exactly equal to the set s.
Rating:
Was this information helpful?
Other articles
- What is the headSet() method of the NavigableSet interface?
- What is the BufferedWriter class?
- What is the higher() method of the NavigableSet interface?
- What is the FileReader class?
- What is the Console class?