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

Method findSmallestEntry

vm/JavaAPI/src/java/util/TreeMap.java:3935–3944  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3933 }
3934
3935 TreeMap.Entry<K, V> findSmallestEntry() {
3936 if (null != root){
3937 Node<K, V> node = minimum(root);
3938 TreeMap.Entry<K, V> ret = new TreeMap.Entry<K, V>(node.keys[node.left_idx], node.values[node.left_idx]);
3939 ret.node = node;
3940 ret.index = node.left_idx;
3941 return ret;
3942 }
3943 return null;
3944 }
3945
3946 TreeMap.Entry<K, V> findBiggestEntry() {
3947 if (null != root){

Callers 7

firstEntryMethod · 0.95
pollFirstEntryMethod · 0.95
getBoundaryNodeMethod · 0.45
theSmallestEntryMethod · 0.45
lastEntryMethod · 0.45
pollLastEntryMethod · 0.45
AbstractMapIteratorMethod · 0.45

Calls 1

minimumMethod · 0.95

Tested by

no test coverage detected