it.unimi.dsi.fastutil.floats
Interface FloatIterable

All Superinterfaces:
Iterable<Float>
All Known Subinterfaces:
FloatBigList, FloatCollection, FloatList, FloatSet, FloatSortedSet
All Known Implementing Classes:
AbstractByte2FloatSortedMap.ValuesCollection, AbstractChar2FloatSortedMap.ValuesCollection, AbstractDouble2FloatSortedMap.ValuesCollection, AbstractFloat2BooleanSortedMap.KeySet, AbstractFloat2ByteSortedMap.KeySet, AbstractFloat2CharSortedMap.KeySet, AbstractFloat2DoubleSortedMap.KeySet, AbstractFloat2FloatSortedMap.KeySet, AbstractFloat2FloatSortedMap.ValuesCollection, AbstractFloat2IntSortedMap.KeySet, AbstractFloat2LongSortedMap.KeySet, AbstractFloat2ObjectSortedMap.KeySet, AbstractFloat2ReferenceSortedMap.KeySet, AbstractFloat2ShortSortedMap.KeySet, AbstractFloatBigList, AbstractFloatBigList.FloatSubList, AbstractFloatCollection, AbstractFloatList, AbstractFloatList.FloatSubList, AbstractFloatSet, AbstractFloatSortedSet, AbstractInt2FloatSortedMap.ValuesCollection, AbstractLong2FloatSortedMap.ValuesCollection, AbstractObject2FloatSortedMap.ValuesCollection, AbstractReference2FloatSortedMap.ValuesCollection, AbstractShort2FloatSortedMap.ValuesCollection, FloatArrayList, FloatArraySet, FloatAVLTreeSet, FloatBigArrayBigList, FloatBigLists.EmptyBigList, FloatBigLists.ListBigList, FloatBigLists.Singleton, FloatBigLists.SynchronizedBigList, FloatBigLists.UnmodifiableBigList, FloatCollections.EmptyCollection, FloatCollections.IterableCollection, FloatCollections.SynchronizedCollection, FloatCollections.UnmodifiableCollection, FloatLinkedOpenCustomHashSet, FloatLinkedOpenHashSet, FloatLists.EmptyList, FloatLists.Singleton, FloatLists.SynchronizedList, FloatLists.UnmodifiableList, FloatOpenCustomHashSet, FloatOpenHashBigSet, 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.


Copyright © 2011. All Rights Reserved.