BiMap: A two-way Map in #android

Read Time < 1 minuteA simple hashMap is used to keep key,value pairs. It is useful in situation where we need to lookup values by keys. e.g         HashMap simplemap=new HashMap();        simplemap.put(“name”, “sohail”);                simplemap.get(“name”); Above is the simple example of hashmap, where we put a key,value pair and then lookup using key. However, there …

BiMap: A two-way Map in #android Read More »