FloatIterable
, LazyFloatIterable
, PrimitiveIterable
public class CollectLongToFloatIterable extends AbstractLazyFloatIterable
Constructor | Description |
---|---|
CollectLongToFloatIterable(LongIterable iterable,
LongToFloatFunction function) |
Modifier and Type | Method | Description |
---|---|---|
void |
each(FloatProcedure procedure) |
A synonym for forEach.
|
FloatIterator |
floatIterator() |
Returns a primitive iterator that can be used to iterate over the FloatIterable in an
imperative style.
|
boolean |
isEmpty() |
Returns true if this iterable has zero items.
|
boolean |
notEmpty() |
The English equivalent of !this.isEmpty()
|
int |
size() |
Returns the number of items in this iterable.
|
allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, average, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, forEach, injectInto, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toString
collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, reject, select, summaryStatistics
public CollectLongToFloatIterable(LongIterable iterable, LongToFloatFunction function)
public void each(FloatProcedure procedure)
FloatIterable
public FloatIterator floatIterator()
FloatIterable
public int size()
PrimitiveIterable
size
in interface PrimitiveIterable
size
in class AbstractLazyFloatIterable
public boolean isEmpty()
PrimitiveIterable
isEmpty
in interface PrimitiveIterable
isEmpty
in class AbstractLazyFloatIterable
public boolean notEmpty()
PrimitiveIterable
notEmpty
in interface PrimitiveIterable
notEmpty
in class AbstractLazyFloatIterable
Copyright © 2004–2017. All rights reserved.