Returns the last Entry in the RBTreeMap (according to the RBTreeMap's key-sort function). Returns null if the RBTreeMap is empty.
()
| 1179 | * key-sort function). Returns null if the RBTreeMap is empty. |
| 1180 | */ |
| 1181 | private Entry<K,V> lastEntry() { |
| 1182 | Entry<K,V> p = root; |
| 1183 | if (p != null) |
| 1184 | while (p.right != null) |
| 1185 | p = p.right; |
| 1186 | return p; |
| 1187 | } |
| 1188 | |
| 1189 | /** |
| 1190 | * Returns the successor of the specified Entry, or null if no such. |
no outgoing calls
no test coverage detected