Implementation of BidiMap that uses two TreeMap instances.
The setValue() method on iterators will succeed only if the new value being set is
not already in the bidimap.
When considering whether to use this class, the
TreeBidiMap class should
also be considered. It implements the interface using a dedicated design, and does
not store each object twice, which can save on memory use.
NOTE: From Commons Collections 3.1, all subclasses will use TreeMap
and the flawed createMap method is ignored.
since: Commons Collections 3.0 version: $Id: DualTreeBidiMap.java 155406 2005-02-26 12:55:26Z dirkv $ author: Matthew Hawthorne author: Stephen Colebourne |