edu.emory.mathcs.backport.java.util
Class AbstractSet

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractSet
          extended byedu.emory.mathcs.backport.java.util.AbstractSet
All Implemented Interfaces:
java.util.Collection, java.util.Set
Direct Known Subclasses:
ConcurrentSkipListSet

public abstract class AbstractSet
extends java.util.AbstractSet

Overrides toArray() and toArray(Object[]) in AbstractCollection to provide implementations valid for concurrent sets.

Author:
Doug Lea, Dawid Kurzyniec

Constructor Summary
protected AbstractSet()
          Sole constructor.
 
Method Summary
 java.lang.Object[] toArray()
           
 java.lang.Object[] toArray(java.lang.Object[] a)
           
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, retainAll, size, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, retainAll, size
 

Constructor Detail

AbstractSet

protected AbstractSet()
Sole constructor. (For invocation by subclass constructors, typically implicit.)

Method Detail

toArray

public java.lang.Object[] toArray()

toArray

public java.lang.Object[] toArray(java.lang.Object[] a)