Class AbstractObjectSortedSet<K>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract ObjectBidirectionalIterator<K> iterator()
      Returns a type-specific iterator on the elements of this collection.
      • Methods inherited from class java.util.AbstractCollection

        add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.Set

        add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArray
      • Methods inherited from interface java.util.SortedSet

        comparator, first, last, spliterator
    • Method Detail

      • iterator

        public abstract ObjectBidirectionalIterator<K> iterator()
        Description copied from interface: ObjectCollection
        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<K>
        Specified by:
        iterator in interface java.lang.Iterable<K>
        Specified by:
        iterator in interface ObjectBidirectionalIterable<K>
        Specified by:
        iterator in interface ObjectCollection<K>
        Specified by:
        iterator in interface ObjectIterable<K>
        Specified by:
        iterator in interface ObjectSet<K>
        Specified by:
        iterator in interface ObjectSortedSet<K>
        Specified by:
        iterator in interface java.util.Set<K>
        Specified by:
        iterator in class AbstractObjectSet<K>
        Returns:
        a type-specific iterator on the elements of this collection.
        See Also:
        Iterable.iterator()