Interface ObjectIterable<K>

    • Method Detail

      • iterator

        ObjectIterator<K> iterator()
        Returns a type-specific iterator.
        Specified by:
        iterator in interface java.lang.Iterable<K>
        Returns:
        a type-specific iterator.
        See Also:
        Iterable.iterator()
        API Notes:
        Note that this specification strengthens the one given in Iterable.iterator().
      • spliterator

        default ObjectSpliterator<K> spliterator()
        Returns a type-specific spliterator on the elements of this iterable.
        Specified by:
        spliterator in interface java.lang.Iterable<K>
        Returns:
        a type-specific spliterator on the elements of this iterable.
        Since:
        8.5.0
        API Notes:
        Note that this specification strengthens the one given in Iterable.spliterator().