Merge: poset: add lookup services in Map to search using keys in hierarchies.
authorJean Privat <jean@pryen.org>
Tue, 11 Jul 2017 12:59:58 +0000 (08:59 -0400)
committerJean Privat <jean@pryen.org>
Tue, 11 Jul 2017 12:59:58 +0000 (08:59 -0400)
3 main methods:

* `Map::lookup_all_values` collect all values of the greaters of an element
* `Map::lookup_values` collect only the values of the most specific greaters of an element
* `MultiHashMap::lookup_joined_values` collect and join the values of the most specific greaters of an element

Since many models entities in nitc are in some poset, these services could be used
to add and retrieve metadata while automatically taking in account inheritance or importation.

Signed-off-by: Jean Privat <jean@pryen.org>

Pull-Request: #2500


Trivial merge