Package java.util
Class TreeMap
Description:
Returns the first key currently in this sorted map.
Example
TreeMap treeMap = new TreeMap();
treeMap.put("1", "T");
treeMap.put("2", "r");
treeMap.put("3", "e");
treeMap.put("4", "e");
treeMap.put("5", "M");
treeMap.put("6", "a");
treeMap.put("7", "p");
Logger.log("TreeMap: " + treeMap.firstKey());
The example above returns the first key in this map.