Comment vérifier si une clé dans une Carte commence avec une valeur de Chaîne donnée

Je suis à la recherche d'une méthode comme:

myMap.containsKeyStartingWith("abc"); //returns true if there's a key starting with "abc" e.g. "abcd"

ou

MapUtils.containsKeyStartingWith(myMap, "abc"); //same

Je me demandais si quelqu'un connaissait un moyen simple de faire cela

Grâce

InformationsquelleAutor Edd | 2012-01-25