MCPcopy Create free account
hub / github.com/davidgiven/luje / firstKey

Method firstKey

lib/java/util/TreeMap.java:1253–1259  ·  view source on GitHub ↗

Returns the first key in this map. @return the first key in this map. @throws NoSuchElementException if this map is empty.

()

Source from the content-addressed store, hash-verified

1251 * if this map is empty.
1252 */
1253 public K firstKey() {
1254 if (root != null) {
1255 Node<K, V> node = minimum(root);
1256 return node.keys[node.left_idx];
1257 }
1258 throw new NoSuchElementException();
1259 }
1260
1261
1262 /**

Callers

nothing calls this directly

Calls 1

minimumMethod · 0.95

Tested by

no test coverage detected