Class AbstractSet<E>

java.lang.Object
  extended by AbstractSet<E>
All Implemented Interfaces:
ISet<E>, Iterable<E>
Direct Known Subclasses:
SortedSet, UnsortedSet

public abstract class AbstractSet<E>
extends Object
implements ISet<E>

Students are to complete this class. Students should implement as many methods as they can using the Iterator from the iterator method and the other methods.


Constructor Summary
AbstractSet()
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ISet
add, addAll, clear, contains, containsAll, difference, equals, intersection, iterator, remove, size, union
 

Constructor Detail

AbstractSet

public AbstractSet()
Method Detail

toString

public String toString()
Overrides:
toString in class Object