public abstract static class ConcurrentArray.DuplicateCounter<E> extends ConcurrentArray<E>
ConcurrentArray.DuplicateCounter<E>, ConcurrentArray.Unique<E>
elements
Constructor and Description |
---|
ConcurrentArray.DuplicateCounter() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
equals(E e1,
E e2) |
int |
getMaxDuplicates() |
protected boolean |
validate(E element)
Synchronized through
ConcurrentArray.add(Object) . |
add, firstElementAdded, get, isEmpty, lastElementRemoved, newArray, remove
public final int getMaxDuplicates()
protected boolean validate(E element)
ConcurrentArray
ConcurrentArray.add(Object)
.validate
in class ConcurrentArray<E>
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.