Class AbstractShortSortedSet

    • Method Detail

      • iterator

        public abstract ShortBidirectionalIterator iterator()
        Description copied from interface: ShortCollection
        Returns a type-specific iterator on the elements of this collection.

        Note that this specification strengthens the one given in Iterable.iterator(), which was already strengthened in the corresponding type-specific class, but was weakened by the fact that this interface extends Collection.

        Specified by:
        iterator in interface java.util.Collection<java.lang.Short>
        Specified by:
        iterator in interface java.lang.Iterable<java.lang.Short>
        Specified by:
        iterator in interface java.util.Set<java.lang.Short>
        Specified by:
        iterator in interface ShortBidirectionalIterable
        Specified by:
        iterator in interface ShortCollection
        Specified by:
        iterator in interface ShortIterable
        Specified by:
        iterator in interface ShortSet
        Specified by:
        iterator in interface ShortSortedSet
        Specified by:
        iterator in class AbstractShortSet
        Returns:
        a type-specific iterator on the elements of this collection.
        See Also:
        Iterable.iterator()