Java.util SortedMap is a subinterface of Map interface, that provides a sorted key-value mapping of the elements in a specific order. It is implemented by TreeMap class in the Java Collections Framework. The containsKey() method is used to check if an element is present in a SortedMap or not. It returns true if the map contains the specified key, false otherwise.
The java.util package library is used for SortedMap, TreeMap, and containsKey() methods.
Java SortedMap.containsKey - 30 examples found. These are the top rated real world Java examples of java.util.SortedMap.containsKey extracted from open source projects. You can rate examples to help us improve the quality of examples.