MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / firstKey

Method firstKey

Ports/CLDC11/src/java/util/TreeMap.java:4216–4222  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4214 ///
4215 /// - `NoSuchElementException`: if this map is empty.
4216 public K firstKey() {
4217 if (root != null) {
4218 Node<K, V> node = minimum(root);
4219 return node.keys[node.left_idx];
4220 }
4221 throw new NoSuchElementException();
4222 }
4223
4224 Node<K, V> findNode(K key) {
4225 java.lang.Comparable<K> object = comparator == null ? toComparable((K) key)

Callers

nothing calls this directly

Calls 1

minimumMethod · 0.95

Tested by

no test coverage detected