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

Method findSmallestEntry

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

Source from the content-addressed store, hash-verified

3940 }
3941
3942 TreeMap.Entry<K, V> findSmallestEntry() {
3943 if (null != root){
3944 Node<K, V> node = minimum(root);
3945 TreeMap.Entry<K, V> ret = new TreeMap.Entry<K, V>(node.keys[node.left_idx], node.values[node.left_idx]);
3946 ret.node = node;
3947 ret.index = node.left_idx;
3948 return ret;
3949 }
3950 return null;
3951 }
3952
3953 TreeMap.Entry<K, V> findBiggestEntry() {
3954 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