Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.swing
Class AbstractSet  view AbstractSet download AbstractSet.java

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjavax.swing.AbstractSet
All Implemented Interfaces:
java.util.Collection, java.lang.Iterable, java.util.Set

public abstract class AbstractSet
extends java.util.AbstractCollection
implements java.util.Set

Empty


Constructor Summary
AbstractSet()
           
 
Method Summary
(package private)  boolean contained(java.lang.Object[] a1, java.lang.Object b)
           
 boolean equals(java.lang.Object o)
          Compares the specified object to this for equality.
 int hashCode()
          Returns the hash code for this set.
 boolean removeAll(java.util.Collection c)
          Removes from this set all elements contained in the specified collection (optional operation).
 
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, retainAll, size, toArray, toArray, 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, toArray, toArray
 

Constructor Detail

AbstractSet

public AbstractSet()
Method Detail

contained

boolean contained(java.lang.Object[] a1,
                  java.lang.Object b)

equals

public boolean equals(java.lang.Object o)
Description copied from interface: java.util.Set
Compares the specified object to this for equality. For sets, the object must be a set, the two must have the same size, and every element in one must be in the other.

Specified by:
equals in interface java.util.Set

hashCode

public int hashCode()
Description copied from interface: java.util.Set
Returns the hash code for this set. In order to satisfy the contract of equals, this is the sum of the hashcode of all elements in the set.

Specified by:
hashCode in interface java.util.Set

removeAll

public boolean removeAll(java.util.Collection c)
Description copied from interface: java.util.Set
Removes from this set all elements contained in the specified collection (optional operation). If the argument is a set, this returns the asymmetric set difference of the two sets.

Specified by:
removeAll in interface java.util.Set