What is the lowerEntry(k) method of the NavigableMap 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 lowerEntry(k) method of the NavigableMap interface?
Rating:
The lowerEntry(k) method of the NavigableMap interface returns a key value pair with the greatest key in the map strictly less than k. It returns a null value if no such key is found. The lowerEntry(k) method throws the ClassCastException if the specified key cannot be compared with the keys currently in the map. It throws the NullPointerException if the specified key is null and this map does not permit null keys.
Rating:
Was this information helpful?
Other articles
- What is the pollFirst() method of the NavigableSet interface?
- What is the subSet() method of the NavigableSet interface?
- What is the descendingIterator() method of the NavigableSet interface?
- What is the descendingKeySet() method of the NavigableMap interface?
- What are the metacharacters used with the regular expression?