Class AbstractSortedMapDecorator

  • All Implemented Interfaces:
    Map, SortedMap
    Direct Known Subclasses:
    FixedSizeSortedMap, UnmodifiableSortedMap

    public abstract class AbstractSortedMapDecorator
    extends AbstractMapDecorator
    implements SortedMap
    Commons Collections 3 is in maintenance mode. Commons Collections 4 should be used instead.
    Provides a base decorator that enables additional functionality to be added to a Map 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 set/collection 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.

    Commons Collections 3.0