Implementations should allow a value to be looked up from a key and a key to be looked up from a value with equal performance.
| Modifier and Type | Method and Description |
|---|---|
| public SortedBidiMap | Returns: an inverted bidirectional mapRedeclares org. |
| public Comparator | Returns: Comparator<? super V>Get the comparator used for the values in the value-to-key map aspect. |
| inverseBidiMap | back to summary |
|---|---|
| public SortedBidiMap Redeclares org. Gets a view of this map where the keys and values are reversed. Changes to one map will be visible in the other and vice versa. This enables both directions of the map to be accessed equally.
Implementations should seek to avoid creating a new object every time this
method is called. See
Implementations must return a
| |
| valueComparator | back to summary |
|---|---|
| public Comparator Get the comparator used for the values in the value-to-key map aspect.
| |