public abstract class

AbstractSetDecorator

extends AbstractCollectionDecorator
implements Set<E>
java.lang.Object
   ↳ org.apache.commons.collections.collection.AbstractCollectionDecorator
     ↳ org.apache.commons.collections.set.AbstractSetDecorator
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Decorates another Set to provide additional behaviour.

Methods are forwarded directly to the decorated set.

Summary

[Expand]
Inherited Fields
From class org.apache.commons.collections.collection.AbstractCollectionDecorator
Protected Constructors
AbstractSetDecorator()
Constructor only used in deserialization, do not use otherwise.
AbstractSetDecorator(Set set)
Constructor that wraps (not copies).
Protected Methods
Set getSet()
Gets the set being decorated.
[Expand]
Inherited Methods
From class org.apache.commons.collections.collection.AbstractCollectionDecorator
From class java.lang.Object
From interface java.lang.Iterable
From interface java.util.Collection
From interface java.util.Set

Protected Constructors

protected AbstractSetDecorator ()

Constructor only used in deserialization, do not use otherwise.

protected AbstractSetDecorator (Set set)

Constructor that wraps (not copies).

Parameters
set the set to decorate, must not be null
Throws
IllegalArgumentException if set is null

Protected Methods

protected Set getSet ()

Gets the set being decorated.

Returns
  • the decorated set