java.lang.Object | ||
↳ | org.apache.commons.collections.collection.SynchronizedCollection | |
↳ | org.apache.commons.collections.set.SynchronizedSortedSet |
Decorates another SortedSet
to synchronize its behaviour
for a multi-threaded environment.
Methods are synchronized, then forwarded to the decorated set.
This class is Serializable from Commons Collections 3.1.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor that wraps (not copies).
| |||||||||||
Constructor that wraps (not copies).
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Factory method to create a synchronized set.
| |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the decorated set.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Constructor that wraps (not copies).
set | the set to decorate, must not be null |
---|
IllegalArgumentException | if set is null |
---|
Constructor that wraps (not copies).
set | the set to decorate, must not be null |
---|---|
lock | the lock object to use, must not be null |
IllegalArgumentException | if set is null |
---|
Factory method to create a synchronized set.
set | the set to decorate, must not be null |
---|
IllegalArgumentException | if set is null |
---|