Interface OrderedSet<E extends java.lang.Comparable<E>>

  • All Superinterfaces:
    Set<E>

    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 non-null elements of type E (which has a total order) is maintained.