Class AbstractSet<E>
java.lang.Object
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.
| Methods inherited from interface ISet |
add, addAll, clear, contains, containsAll, difference, equals, intersection, iterator, remove, size, union |
AbstractSet
public AbstractSet()
toString
public String toString()
- Overrides:
toString in class Object