Interface Set

  • All Superinterfaces:
    Collection
    All Known Subinterfaces:
    SortedSet
    All Known Implementing Classes:
    HashSet, SortedSetImpl

    public interface Set
    extends Collection
    The LEAP (environment-dependent) version of the &qote;java.util.Set&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 unordered collection that contains no duplicate elements.