⇒ Index (Frames) |  ⇒ Index (No Frames) |  ⇒ Package |  ⇒ Package Tree |  ⇒ Full Tree 
org.apache.commons.collections.set

Class AbstractSetDecorator

java.lang.Object
|
+--org.apache.commons.collections.collection.AbstractCollectionDecorator
   |
   +--org.apache.commons.collections.set.AbstractSetDecorator

All Implemented Interfaces:
Collection, Set

Known Direct Subclasses:
UnmodifiableEntrySet, AbstractSortedSetDecorator, ListOrderedSet, UnmodifiableSet


public abstract class AbstractSetDecorator
extends AbstractCollectionDecorator
implements Set

Decorates another Set to provide additional behaviour.

Methods are forwarded directly to the decorated set.

Since:
Commons Collections 3.0
Author:
Stephen Colebourne

Constructor Summary

AbstractSetDecorator(Set set)

Constructor that wraps (not copies).

Method Summary

Set

getSet()

Gets the set being decorated.

Constructor Details

AbstractSetDecorator

protected AbstractSetDecorator(Set set)

Constructor that wraps (not copies).

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

Method Details

getSet

protected Set getSet()

Gets the set being decorated.

Returns:
the decorated set