Interface ObjectIterable<K>

All Superinterfaces:
java.lang.Iterable<K>
All Known Subinterfaces:
Double2DoubleMap.FastEntrySet, Double2DoubleSortedMap.FastSortedEntrySet, Double2IntMap.FastEntrySet, Double2IntSortedMap.FastSortedEntrySet, Double2LongMap.FastEntrySet, Double2LongSortedMap.FastSortedEntrySet, Double2ObjectMap.FastEntrySet<V>, Double2ObjectSortedMap.FastSortedEntrySet<V>, Int2DoubleMap.FastEntrySet, Int2DoubleSortedMap.FastSortedEntrySet, Int2IntMap.FastEntrySet, Int2IntSortedMap.FastSortedEntrySet, Int2LongMap.FastEntrySet, Int2LongSortedMap.FastSortedEntrySet, Int2ObjectMap.FastEntrySet<V>, Int2ObjectSortedMap.FastSortedEntrySet<V>, Long2DoubleMap.FastEntrySet, Long2DoubleSortedMap.FastSortedEntrySet, Long2IntMap.FastEntrySet, Long2IntSortedMap.FastSortedEntrySet, Long2LongMap.FastEntrySet, Long2LongSortedMap.FastSortedEntrySet, Long2ObjectMap.FastEntrySet<V>, Long2ObjectSortedMap.FastSortedEntrySet<V>, Object2DoubleMap.FastEntrySet<K>, Object2DoubleSortedMap.FastSortedEntrySet<K>, Object2IntMap.FastEntrySet<K>, Object2IntSortedMap.FastSortedEntrySet<K>, Object2LongMap.FastEntrySet<K>, Object2LongSortedMap.FastSortedEntrySet<K>, Object2ObjectMap.FastEntrySet<K,​V>, Object2ObjectSortedMap.FastSortedEntrySet<K,​V>, ObjectBidirectionalIterable<K>, ObjectBigList<K>, ObjectCollection<K>, ObjectList<K>, ObjectSet<K>, ObjectSortedSet<K>
All Known Implementing Classes:
AbstractDouble2DoubleMap.BasicEntrySet, AbstractDouble2IntMap.BasicEntrySet, AbstractDouble2LongMap.BasicEntrySet, AbstractDouble2ObjectMap.BasicEntrySet, AbstractInt2DoubleMap.BasicEntrySet, AbstractInt2IntMap.BasicEntrySet, AbstractInt2LongMap.BasicEntrySet, AbstractInt2ObjectMap.BasicEntrySet, AbstractLong2DoubleMap.BasicEntrySet, AbstractLong2IntMap.BasicEntrySet, AbstractLong2LongMap.BasicEntrySet, AbstractLong2ObjectMap.BasicEntrySet, AbstractObject2DoubleMap.BasicEntrySet, AbstractObject2IntMap.BasicEntrySet, AbstractObject2LongMap.BasicEntrySet, AbstractObject2ObjectMap.BasicEntrySet, AbstractObjectBigList, AbstractObjectBigList.ObjectRandomAccessSubList, AbstractObjectBigList.ObjectSubList, AbstractObjectCollection, AbstractObjectList, AbstractObjectList.ObjectRandomAccessSubList, AbstractObjectList.ObjectSubList, AbstractObjectSet, AbstractObjectSortedSet, IntArrayFrontCodedBigList, IntArrayFrontCodedList, LongArrayFrontCodedBigList, LongArrayFrontCodedList, ObjectArrayList, ObjectArraySet, ObjectAVLTreeSet, ObjectBigArrayBigList, ObjectBigLists.EmptyBigList, ObjectBigLists.ListBigList, ObjectBigLists.Singleton, ObjectBigLists.SynchronizedBigList, ObjectBigLists.UnmodifiableBigList, ObjectCollections.EmptyCollection, ObjectCollections.IterableCollection, ObjectImmutableList, ObjectLinkedOpenCustomHashSet, ObjectLinkedOpenHashSet, ObjectLists.EmptyList, ObjectLists.Singleton, ObjectLists.SynchronizedList, ObjectLists.SynchronizedRandomAccessList, ObjectLists.UnmodifiableList, ObjectLists.UnmodifiableRandomAccessList, ObjectOpenCustomHashSet, ObjectOpenHashBigSet, ObjectOpenHashSet, ObjectRBTreeSet, ObjectSets.EmptySet, ObjectSets.Singleton, ObjectSets.SynchronizedSet, ObjectSets.UnmodifiableSet, ObjectSortedSets.EmptySet, ObjectSortedSets.Singleton, ObjectSortedSets.SynchronizedSortedSet, ObjectSortedSets.UnmodifiableSortedSet

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

    Modifier and Type Method Description
    ObjectIterator<K> iterator()
    Returns a type-specific iterator.
    default ObjectSpliterator<K> spliterator()
    Returns a type-specific spliterator on the elements of this iterable.

    Methods inherited from interface java.lang.Iterable

    forEach
  • Method Details

    • 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().