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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
protected AbstractSetDecorator()
protected AbstractSetDecorator(java.util.Set set)
set
- the set to decorate, must not be nulljava.lang.IllegalArgumentException
- if set is nullCopyright © 2001-2024 Apache Software Foundation. All Rights Reserved.