Class AbstractSortedSetDecorator<E>

Type Parameters:
E - the type of the elements in the sorted set
All Implemented Interfaces:
Serializable, Iterable<E>, Collection<E>, Set<E>, SortedSet<E>
Direct Known Subclasses:
AbstractNavigableSetDecorator, UnmodifiableSortedSet

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

Methods are forwarded directly to the decorated set.

Since:
3.0
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Serialization version
      See Also:
  • Constructor Details

    • AbstractSortedSetDecorator

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

      protected AbstractSortedSetDecorator(Set<E> set)
      Constructor that wraps (not copies).
      Parameters:
      set - the set to decorate, must not be null
      Throws:
      NullPointerException - if set is null
  • Method Details