Class AbstractSortedSetDecorator

  • All Implemented Interfaces:
    Iterable, Collection, Set, SortedSet
    Direct Known Subclasses:
    UnmodifiableSortedSet

    public abstract class AbstractSortedSetDecorator
    extends AbstractSetDecorator
    implements SortedSet
    Decorates another SortedSet to provide additional behaviour.

    Methods are forwarded directly to the decorated set.

    Since:
    Commons Collections 3.0
    Version:
    $Revision: 646777 $ $Date: 2008-04-10 14:33:15 +0200 (Thu, 10 Apr 2008) $
    Author:
    Stephen Colebourne
    • Constructor Detail

      • AbstractSortedSetDecorator

        protected AbstractSortedSetDecorator()
        Constructor only used in deserialization, do not use otherwise.
        Since:
        Commons Collections 3.1
      • AbstractSortedSetDecorator

        protected AbstractSortedSetDecorator​(Set set)
        Constructor that wraps (not copies).
        Parameters:
        set - the set to decorate, must not be null
        Throws:
        IllegalArgumentException - if set is null