Class AbstractLongSortedSet

    • Method Detail

      • iterator

        public abstract LongBidirectionalIterator iterator()
        Description copied from interface: LongCollection
        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.Long>
        Specified by:
        iterator in interface java.lang.Iterable<java.lang.Long>
        Specified by:
        iterator in interface LongBidirectionalIterable
        Specified by:
        iterator in interface LongCollection
        Specified by:
        iterator in interface LongIterable
        Specified by:
        iterator in interface LongSet
        Specified by:
        iterator in interface LongSortedSet
        Specified by:
        iterator in interface java.util.Set<java.lang.Long>
        Specified by:
        iterator in class AbstractLongSet
        Returns:
        a type-specific iterator on the elements of this collection.
        See Also:
        Iterable.iterator()