- All Superinterfaces:
- Set<E>
- All Known Implementing Classes:
- BSTOrderedSet
public interface OrderedSet<E extends java.lang.Comparable<E>>
extends Set<E>
Provides an interface for a whose elements have type E,
where E has a total order.
OrderedSet Invariant: A finite set of elements of type E (which
has a total order) is maintained.