Class CollectShortToFloatIterable
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.primitive.AbstractLazyFloatIterable
-
- org.eclipse.collections.impl.lazy.primitive.CollectShortToFloatIterable
-
- All Implemented Interfaces:
FloatIterable,LazyFloatIterable,PrimitiveIterable
public class CollectShortToFloatIterable extends AbstractLazyFloatIterable
This file was automatically generated from template file collectPrimitiveToPrimitiveIterable.stg.
-
-
Field Summary
Fields Modifier and Type Field Description private ShortToFloatFunctionfunctionprivate ShortIterableiterable
-
Constructor Summary
Constructors Constructor Description CollectShortToFloatIterable(ShortIterable iterable, ShortToFloatFunction function)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voideach(FloatProcedure procedure)A synonym for forEach.FloatIteratorfloatIterator()Returns a primitive iterator that can be used to iterate over the FloatIterable in an imperative style.booleanisEmpty()Returns true if this iterable has zero items.booleannotEmpty()The English equivalent of !this.isEmpty()intsize()Returns the number of items in this iterable.-
Methods inherited from class org.eclipse.collections.impl.lazy.primitive.AbstractLazyFloatIterable
allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, average, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, flatCollect, injectInto, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, tap, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.api.FloatIterable
averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatistics, toArray, toSortedList, toSortedListBy, toSortedListBy
-
-
-
-
Field Detail
-
iterable
private final ShortIterable iterable
-
function
private final ShortToFloatFunction function
-
-
Constructor Detail
-
CollectShortToFloatIterable
public CollectShortToFloatIterable(ShortIterable iterable, ShortToFloatFunction function)
-
-
Method Detail
-
each
public void each(FloatProcedure procedure)
Description copied from interface:FloatIterableA synonym for forEach.
-
floatIterator
public FloatIterator floatIterator()
Description copied from interface:FloatIterableReturns a primitive iterator that can be used to iterate over the FloatIterable in an imperative style.
-
size
public int size()
Description copied from interface:PrimitiveIterableReturns the number of items in this iterable.- Specified by:
sizein interfacePrimitiveIterable- Overrides:
sizein classAbstractLazyFloatIterable
-
isEmpty
public boolean isEmpty()
Description copied from interface:PrimitiveIterableReturns true if this iterable has zero items.- Specified by:
isEmptyin interfacePrimitiveIterable- Overrides:
isEmptyin classAbstractLazyFloatIterable
-
notEmpty
public boolean notEmpty()
Description copied from interface:PrimitiveIterableThe English equivalent of !this.isEmpty()- Specified by:
notEmptyin interfacePrimitiveIterable- Overrides:
notEmptyin classAbstractLazyFloatIterable
-
-