Class AbstractSortedBidiMapDecorator<K,​V>

  • Type Parameters:
    K - the type of the keys in this map
    V - the type of the values in this map
    All Implemented Interfaces:
    Map<K,​V>, SortedMap<K,​V>, BidiMap<K,​V>, Get<K,​V>, IterableGet<K,​V>, IterableMap<K,​V>, OrderedBidiMap<K,​V>, OrderedMap<K,​V>, Put<K,​V>, SortedBidiMap<K,​V>
    Direct Known Subclasses:

    public abstract class AbstractSortedBidiMapDecorator<K,​V>
    extends AbstractOrderedBidiMapDecorator<K,​V>
    implements SortedBidiMap<K,​V>
    Provides a base decorator that enables additional functionality to be added to a SortedBidiMap via decoration.

    Methods are forwarded directly to the decorated map.

    This implementation does not perform any special processing with the map views. Instead it simply returns the inverse from the wrapped map. This may be undesirable, for example if you are trying to write a validating implementation it would provide a loophole around the validation. But, you might want that loophole, so this class is kept simple.