Class UnsortedSet<E>

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

public class UnsortedSet<E>
extends AbstractSet<E>

A simple implementation of an ISet. Elements are not in any particular order. Students are to implement methods that were not implemented in AbstractSet and override methods that can be done more efficiently. An ArrayList must be used as the internal storage container.


Constructor Summary
UnsortedSet()
           
 
Method Summary
 
Methods inherited from class AbstractSet
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

UnsortedSet

public UnsortedSet()