Get the value stored for `key`.
(&self, key: K, forest: &MapForest<K, V>, comp: &C)
| 102 | |
| 103 | /// Get the value stored for `key`. |
| 104 | pub fn get<C: Comparator<K>>(&self, key: K, forest: &MapForest<K, V>, comp: &C) -> Option<V> { |
| 105 | self.root |
| 106 | .expand() |
| 107 | .and_then(|root| Path::default().find(key, root, &forest.nodes, comp)) |
| 108 | } |
| 109 | |
| 110 | /// Look up the value stored for `key`. |
| 111 | /// |