Class ConcurrentArray.Unique<E>
java.lang.Object
org.eclipse.net4j.util.collection.ConcurrentArray<E>
org.eclipse.net4j.util.collection.ConcurrentArray.Unique<E>
- Enclosing class:
- ConcurrentArray<E>
- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.net4j.util.collection.ConcurrentArray
ConcurrentArray.DuplicateCounter<E>, ConcurrentArray.Unique<E>
-
Field Summary
Fields inherited from class org.eclipse.net4j.util.collection.ConcurrentArray
elements
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Synchronized throughConcurrentArray.add(Object)
.protected boolean
protected void
violatingUniqueness
(E element) Synchronized throughConcurrentArray.add(Object)
.Methods inherited from class org.eclipse.net4j.util.collection.ConcurrentArray
add, addUnique, contains, elementAdded, elementRemoved, firstElementAdded, get, isEmpty, lastElementRemoved, newArray, remove
-
Constructor Details
-
Unique
public Unique()
-
-
Method Details
-
validate
- Overrides:
validate
in classConcurrentArray<E>
-
equals
Synchronized throughConcurrentArray.add(Object)
.- Overrides:
equals
in classConcurrentArray<E>
-
violatingUniqueness
Synchronized throughConcurrentArray.add(Object)
.
-