FloatIterable
, PrimitiveIterable
FloatList
, FloatStack
, ImmutableFloatList
, ImmutableFloatStack
, MutableFloatList
, MutableFloatStack
, ReversibleFloatIterable
AbstractFloatStack
, FloatArrayList
, FloatArrayStack
, SynchronizedFloatList
, SynchronizedFloatStack
, UnmodifiableFloatList
, UnmodifiableFloatStack
public interface OrderedFloatIterable extends FloatIterable
Modifier and Type | Method | Description |
---|---|---|
<V> OrderedIterable<V> |
collect(FloatToObjectFunction<? extends V> function) |
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
default <V> OrderedIterable<V> |
collectWithIndex(FloatIntToObjectFunction<? extends V> function) |
Returns a new OrderedIterable using results obtained by applying the specified function to each element
and its corresponding index.
|
default <V,R extends java.util.Collection<V>> |
collectWithIndex(FloatIntToObjectFunction<? extends V> function,
R target) |
Adds elements to the target Collection using results obtained by applying the specified function to each element
and its corresponding index.
|
void |
forEachWithIndex(FloatIntProcedure procedure) |
|
float |
getFirst() |
|
int |
indexOf(float value) |
|
<T> T |
injectIntoWithIndex(T injectedValue,
ObjectFloatIntToObjectFunction<? super T,? extends T> function) |
|
OrderedFloatIterable |
reject(FloatPredicate predicate) |
Returns a new FloatIterable with all of the elements in the FloatIterable that
return false for the specified predicate.
|
OrderedFloatIterable |
select(FloatPredicate predicate) |
Returns a new FloatIterable with all of the elements in the FloatIterable that
return true for the specified predicate.
|
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, floatIterator, forEach, injectInto, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, tap, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
float getFirst()
int indexOf(float value)
OrderedFloatIterable select(FloatPredicate predicate)
FloatIterable
select
in interface FloatIterable
OrderedFloatIterable reject(FloatPredicate predicate)
FloatIterable
reject
in interface FloatIterable
<V> OrderedIterable<V> collect(FloatToObjectFunction<? extends V> function)
FloatIterable
collect
in interface FloatIterable
default <V> OrderedIterable<V> collectWithIndex(FloatIntToObjectFunction<? extends V> function)
default <V,R extends java.util.Collection<V>> R collectWithIndex(FloatIntToObjectFunction<? extends V> function, R target)
<T> T injectIntoWithIndex(T injectedValue, ObjectFloatIntToObjectFunction<? super T,? extends T> function)
void forEachWithIndex(FloatIntProcedure procedure)
Copyright © 2004–2018. All rights reserved.