Interface SortedSet

  • All Superinterfaces:
    Collection, Set
    All Known Implementing Classes:
    SortedSetImpl

    public interface SortedSet
    extends Set
    The LEAP (environment-dependent) version of the &qote;java.util.SortedSet&qote; interface. This interface appears to be exactly the same in J2SE, PJAVA and MIDP. The internal implementation is different in the three cases however. An ordered collection that contains no duplicate elements.
    • Method Detail

      • first

        Object first()
        Returns the first (lowest) element currently in this sorted set.
        Returns:
        the first (lowest) element currently in this sorted set.