public abstract class AbstractSetDecorator extends AbstractCollectionDecorator implements 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(Set set)
Constructor that wraps (not copies).
|
Modifier and Type | Method and Description |
---|---|
protected Set |
getSet()
Gets the set being decorated.
|
add, addAll, clear, contains, containsAll, equals, getCollection, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString
protected AbstractSetDecorator()
protected AbstractSetDecorator(Set set)
set
- the set to decorate, must not be nullIllegalArgumentException
- if set is nullprotected Set getSet()
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.