public abstract class AbstractSetDecorator extends AbstractCollectionDecorator implements java.util.Set
Set to provide additional behaviour.
Methods are forwarded directly to the decorated set.
collection| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSetDecorator()
Constructor only used in deserialization, do not use otherwise.
|
protected |
AbstractSetDecorator(java.util.Set set)
Constructor that wraps (not copies).
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Set |
getSet()
Gets the set being decorated.
|
add, addAll, clear, contains, containsAll, equals, getCollection, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitprotected AbstractSetDecorator()
protected AbstractSetDecorator(java.util.Set set)
set - the set to decorate, must not be nulljava.lang.IllegalArgumentException - if set is nullCopyright © 2001-2025 Apache Software Foundation. All Rights Reserved.