If you want to find an entry in a map by value instead of by key you can flip the entries in the map by using a bimap. A bimap, or a bidirectional map, is a map that has unique values as well as keys. This allows for the ability to have an inverse look up or view of the map. In the example below we will show how to get a key by providing a value using a Google BiMap and apache BidiMap.