public abstract static class ConcurrentArray.Unique<E> extends ConcurrentArray<E>
ConcurrentArray.DuplicateCounter<E>, ConcurrentArray.Unique<E>elements| Constructor and Description |
|---|
Unique() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
equals(E e1,
E e2)
Synchronized through
ConcurrentArray.add(Object). |
protected boolean |
validate(E element)
Synchronized through
ConcurrentArray.add(Object). |
protected void |
violatingUniqueness(E element)
Synchronized through
ConcurrentArray.add(Object). |
add, firstElementAdded, get, isEmpty, lastElementRemoved, newArray, removeprotected boolean validate(E element)
ConcurrentArrayConcurrentArray.add(Object).validate in class ConcurrentArray<E>protected boolean equals(E e1, E e2)
ConcurrentArray.add(Object).protected void violatingUniqueness(E element)
ConcurrentArray.add(Object).Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html