Package net.engio.mbassy.common
Class StrongConcurrentSet<T>
- java.lang.Object
-
- net.engio.mbassy.common.AbstractConcurrentSet<T>
-
- net.engio.mbassy.common.StrongConcurrentSet<T>
-
- All Implemented Interfaces:
java.lang.Iterable<T>,java.util.Collection<T>,java.util.Set<T>
public class StrongConcurrentSet<T> extends AbstractConcurrentSet<T>
This implementation uses strong references to the elements.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStrongConcurrentSet.StrongEntry<T>-
Nested classes/interfaces inherited from class net.engio.mbassy.common.AbstractConcurrentSet
AbstractConcurrentSet.Entry<T>
-
-
Field Summary
-
Fields inherited from class net.engio.mbassy.common.AbstractConcurrentSet
head, lock
-
-
Constructor Summary
Constructors Constructor Description StrongConcurrentSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AbstractConcurrentSet.Entry<T>createEntry(T value, AbstractConcurrentSet.Entry<T> next)java.util.Iterator<T>iterator()-
Methods inherited from class net.engio.mbassy.common.AbstractConcurrentSet
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArray
-
-
-
-
Method Detail
-
iterator
public java.util.Iterator<T> iterator()
-
createEntry
protected AbstractConcurrentSet.Entry<T> createEntry(T value, AbstractConcurrentSet.Entry<T> next)
- Specified by:
createEntryin classAbstractConcurrentSet<T>
-
-