it.unimi.dsi.fastutil.floats
Interface FloatIterable

All Superinterfaces:
Iterable<Float>
All Known Subinterfaces:
FloatCollection, FloatList, FloatSet, FloatSortedSet
All Known Implementing Classes:
AbstractFloatCollection, AbstractFloatList, AbstractFloatList.FloatSubList, AbstractFloatSet, AbstractFloatSortedSet, FloatArrayList, FloatArraySet, FloatAVLTreeSet, FloatCollections.EmptyCollection, FloatCollections.SynchronizedCollection, FloatCollections.UnmodifiableCollection, FloatLinkedOpenHashSet, FloatLists.EmptyList, FloatLists.Singleton, FloatLists.SynchronizedList, FloatLists.UnmodifiableList, FloatOpenHashSet, FloatRBTreeSet, FloatSets.EmptySet, FloatSets.Singleton, FloatSets.SynchronizedSet, FloatSets.UnmodifiableSet, FloatSortedSets.EmptySet, FloatSortedSets.Singleton, FloatSortedSets.SynchronizedSortedSet, FloatSortedSets.UnmodifiableSortedSet

public interface FloatIterable
extends Iterable<Float>

A type-specific Iterable that strengthens that specification of Iterable.iterator().

Warning: Java will let you write “colon” for statements with primitive-type loop variables; however, what is (unfortunately) really happening is that at each iteration an unboxing (and, in the case of fastutil type-specific data structures, a boxing) will be performed. Watch out.

See Also:
Iterable

Method Summary
 FloatIterator iterator()
          Returns a type-specific iterator.
 

Method Detail

iterator

FloatIterator iterator()
Returns a type-specific iterator. Note that this specification strengthens the one given in Iterable.iterator().

Specified by:
iterator in interface Iterable<Float>
Returns:
a type-specific iterator.