org.eclipse.net4j.util.collection
Class ConcurrentArray.DuplicateCounter<E>

java.lang.Object
  extended by org.eclipse.net4j.util.collection.ConcurrentArray<E>
      extended by org.eclipse.net4j.util.collection.ConcurrentArray.DuplicateCounter<E>
Enclosing class:
ConcurrentArray<E>

public abstract static class ConcurrentArray.DuplicateCounter<E>
extends ConcurrentArray<E>


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
ConcurrentArray.DuplicateCounter()
           
 
Method Summary
protected  boolean equals(E e1, E e2)
           
 int getMaxDuplicates()
           
protected  boolean validate(E element)
          Synchronized through ConcurrentArray.add(Object).
 
Methods inherited from class org.eclipse.net4j.util.collection.ConcurrentArray
add, firstElementAdded, get, isEmpty, lastElementRemoved, newArray, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConcurrentArray.DuplicateCounter

public ConcurrentArray.DuplicateCounter()
Method Detail

getMaxDuplicates

public final int getMaxDuplicates()

validate

protected boolean validate(E element)
Description copied from class: ConcurrentArray
Synchronized through ConcurrentArray.add(Object).

Overrides:
validate in class ConcurrentArray<E>

equals

protected boolean equals(E e1,
                         E e2)


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.