Interface ObjectIterable<K>

All Superinterfaces:
Iterable<K>
All Known Subinterfaces:
ObjectBidirectionalIterable<K>, ObjectCollection<K>, ObjectList<K>
All Known Implementing Classes:
AbstractObjectCollection, AbstractObjectList, AbstractObjectList.ObjectRandomAccessSubList, AbstractObjectList.ObjectSubList, ObjectArrayList, ObjectArrayList.SubList, ObjectCollections.EmptyCollection, ObjectCollections.IterableCollection, ObjectImmutableList, ObjectLists.EmptyList, ObjectLists.Singleton, ObjectLists.SynchronizedList, ObjectLists.SynchronizedRandomAccessList, ObjectLists.UnmodifiableList, ObjectLists.UnmodifiableRandomAccessList

public interface ObjectIterable<K> extends Iterable<K>
A type-specific Iterable that strengthens that specification of iterator().
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    it.unimi.dsi.fastutil.objects.ObjectIterator<K>
    Returns a type-specific iterator.
    default it.unimi.dsi.fastutil.objects.ObjectSpliterator<K>
    Returns a type-specific spliterator on the elements of this iterable.

    Methods inherited from interface java.lang.Iterable

    forEach
  • Method Details

    • iterator

      it.unimi.dsi.fastutil.objects.ObjectIterator<K> iterator()
      Returns a type-specific iterator.
      Specified by:
      iterator in interface Iterable<K>
      Returns:
      a type-specific iterator.
      See Also:
    • spliterator

      default it.unimi.dsi.fastutil.objects.ObjectSpliterator<K> spliterator()
      Returns a type-specific spliterator on the elements of this iterable.
      Specified by:
      spliterator in interface Iterable<K>
      Returns:
      a type-specific spliterator on the elements of this iterable.
      Since:
      8.5.0