Implementation of BidiMap that uses two HashMap instances.
Two HashMap instances are used in this class.
This provides fast lookups at the expense of storing two sets of map entries.
Commons Collections would welcome the addition of a direct hash-based
implementation of the BidiMap interface.
NOTE: From Commons Collections 3.1, all subclasses will use HashMap
and the flawed createMap method is ignored.
since: Commons Collections 3.0 version: $Id: DualHashBidiMap.java 155406 2005-02-26 12:55:26Z dirkv $ author: Matthew Hawthorne author: Stephen Colebourne |