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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.commons.collections.collection.SynchronizedCollection
|
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.commons.collections.collection.SynchronizedCollection
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Iterable
| |||||||||||
From interface
java.util.Collection
| |||||||||||
From interface
java.util.Set
| |||||||||||
From interface
java.util.SortedSet
|
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 |
---|