it.unimi.dsi.fastutil.doubles
Interface DoubleIterable
- All Superinterfaces:
- Iterable<Double>
- All Known Subinterfaces:
- DoubleBigList, DoubleCollection, DoubleList, DoubleSet, DoubleSortedSet
- All Known Implementing Classes:
- AbstractByte2DoubleSortedMap.ValuesCollection, AbstractChar2DoubleSortedMap.ValuesCollection, AbstractDouble2BooleanSortedMap.KeySet, AbstractDouble2ByteSortedMap.KeySet, AbstractDouble2CharSortedMap.KeySet, AbstractDouble2DoubleSortedMap.KeySet, AbstractDouble2DoubleSortedMap.ValuesCollection, AbstractDouble2FloatSortedMap.KeySet, AbstractDouble2IntSortedMap.KeySet, AbstractDouble2LongSortedMap.KeySet, AbstractDouble2ObjectSortedMap.KeySet, AbstractDouble2ReferenceSortedMap.KeySet, AbstractDouble2ShortSortedMap.KeySet, AbstractDoubleBigList, AbstractDoubleBigList.DoubleSubList, AbstractDoubleCollection, AbstractDoubleList, AbstractDoubleList.DoubleSubList, AbstractDoubleSet, AbstractDoubleSortedSet, AbstractFloat2DoubleSortedMap.ValuesCollection, AbstractInt2DoubleSortedMap.ValuesCollection, AbstractLong2DoubleSortedMap.ValuesCollection, AbstractObject2DoubleSortedMap.ValuesCollection, AbstractReference2DoubleSortedMap.ValuesCollection, AbstractShort2DoubleSortedMap.ValuesCollection, DoubleArrayList, DoubleArraySet, DoubleAVLTreeSet, DoubleBigArrayBigList, DoubleBigLists.EmptyBigList, DoubleBigLists.ListBigList, DoubleBigLists.Singleton, DoubleBigLists.SynchronizedBigList, DoubleBigLists.UnmodifiableBigList, DoubleCollections.EmptyCollection, DoubleCollections.IterableCollection, DoubleCollections.SynchronizedCollection, DoubleCollections.UnmodifiableCollection, DoubleLinkedOpenCustomHashSet, DoubleLinkedOpenHashSet, DoubleLists.EmptyList, DoubleLists.Singleton, DoubleLists.SynchronizedList, DoubleLists.UnmodifiableList, DoubleOpenCustomHashSet, DoubleOpenHashBigSet, DoubleOpenHashSet, DoubleRBTreeSet, DoubleSets.EmptySet, DoubleSets.Singleton, DoubleSets.SynchronizedSet, DoubleSets.UnmodifiableSet, DoubleSortedSets.EmptySet, DoubleSortedSets.Singleton, DoubleSortedSets.SynchronizedSortedSet, DoubleSortedSets.UnmodifiableSortedSet
public interface DoubleIterable
- extends Iterable<Double>
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
iterator
DoubleIterator iterator()
- Returns a type-specific iterator.
Note that this specification strengthens the one given in
Iterable.iterator()
.
- Specified by:
iterator
in interface Iterable<Double>
- Returns:
- a type-specific iterator.
Copyright © 2011. All Rights Reserved.