@Immutable public class CollectFloatIterable<T> extends AbstractLazyFloatIterable
Constructor and Description |
---|
CollectFloatIterable(LazyIterable<T> adapted,
FloatFunction<? super T> function) |
Modifier and Type | Method and Description |
---|---|
boolean |
allSatisfy(FloatPredicate predicate) |
boolean |
anySatisfy(FloatPredicate predicate) |
boolean |
containsAll(float... source) |
boolean |
containsAll(FloatIterable source) |
int |
count(FloatPredicate predicate) |
void |
each(FloatProcedure procedure) |
FloatIterator |
floatIterator() |
void |
forEach(FloatProcedure procedure) |
boolean |
isEmpty()
Returns true if this iterable has zero items.
|
boolean |
noneSatisfy(FloatPredicate predicate) |
boolean |
notEmpty()
The English equivalent of !this.isEmpty()
|
int |
size()
Returns the number of items in this iterable.
|
float[] |
toArray() |
MutableFloatBag |
toBag() |
MutableFloatList |
toList() |
MutableFloatSet |
toSet() |
float[] |
toSortedArray() |
appendString, appendString, appendString, asLazy, average, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, detectIfNone, injectInto, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, reject, select, sum, toSortedList, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
summaryStatistics
public CollectFloatIterable(LazyIterable<T> adapted, FloatFunction<? super T> function)
public FloatIterator floatIterator()
public void forEach(FloatProcedure procedure)
forEach
in interface FloatIterable
forEach
in class AbstractLazyFloatIterable
public void each(FloatProcedure procedure)
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
public int count(FloatPredicate predicate)
count
in interface FloatIterable
count
in class AbstractLazyFloatIterable
public boolean anySatisfy(FloatPredicate predicate)
anySatisfy
in interface FloatIterable
anySatisfy
in class AbstractLazyFloatIterable
public boolean allSatisfy(FloatPredicate predicate)
allSatisfy
in interface FloatIterable
allSatisfy
in class AbstractLazyFloatIterable
public boolean noneSatisfy(FloatPredicate predicate)
noneSatisfy
in interface FloatIterable
noneSatisfy
in class AbstractLazyFloatIterable
public float[] toArray()
toArray
in interface FloatIterable
toArray
in class AbstractLazyFloatIterable
public float[] toSortedArray()
toSortedArray
in interface FloatIterable
toSortedArray
in class AbstractLazyFloatIterable
public MutableFloatList toList()
toList
in interface FloatIterable
toList
in class AbstractLazyFloatIterable
public MutableFloatSet toSet()
toSet
in interface FloatIterable
toSet
in class AbstractLazyFloatIterable
public MutableFloatBag toBag()
toBag
in interface FloatIterable
toBag
in class AbstractLazyFloatIterable
public boolean containsAll(float... source)
containsAll
in interface FloatIterable
containsAll
in class AbstractLazyFloatIterable
public boolean containsAll(FloatIterable source)
containsAll
in interface FloatIterable
containsAll
in class AbstractLazyFloatIterable
Copyright © 2004–2016. All rights reserved.