FloatIterable
, FloatList
, ImmutableFloatCollection
, OrderedFloatIterable
, PrimitiveIterable
, ReversibleFloatIterable
public interface ImmutableFloatList extends ImmutableFloatCollection, FloatList
Modifier and Type | Method | Description |
---|---|---|
<V> ImmutableList<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> ImmutableList<V> |
collectWithIndex(FloatIntToObjectFunction<? extends V> function) |
Returns a new ImmutableList using results obtained by applying the specified function to each element
and its corresponding index.
|
ImmutableFloatList |
distinct() |
|
ImmutableFloatList |
newWith(float element) |
|
ImmutableFloatList |
newWithAll(FloatIterable elements) |
|
ImmutableFloatList |
newWithout(float element) |
|
ImmutableFloatList |
newWithoutAll(FloatIterable elements) |
|
ImmutableFloatList |
reject(FloatPredicate predicate) |
Returns a new FloatIterable with all of the elements in the FloatIterable that
return false for the specified predicate.
|
ImmutableFloatList |
select(FloatPredicate predicate) |
Returns a new FloatIterable with all of the elements in the FloatIterable that
return true for the specified predicate.
|
ImmutableFloatList |
subList(int fromIndex,
int toIndex) |
|
default ImmutableFloatList |
tap(FloatProcedure procedure) |
|
ImmutableFloatList |
toReversed() |
|
default <T> ImmutableList<FloatObjectPair<T>> |
zip(Iterable<T> iterable) |
Returns an
ImmutableList formed from this ImmutableFloatList and a ListIterable by
combining corresponding elements in pairs. |
default ImmutableList<FloatFloatPair> |
zipFloat(FloatIterable iterable) |
Returns an
ImmutableList formed from this ImmutableFloatList and another FloatList by
combining corresponding elements in pairs. |
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, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
binarySearch, dotProduct, equals, get, hashCode, lastIndexOf, toImmutable
collectWithIndex, forEachWithIndex, getFirst, indexOf
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
asReversed, getLast, injectIntoWithIndex
ImmutableFloatList select(FloatPredicate predicate)
FloatIterable
select
in interface FloatIterable
select
in interface FloatList
select
in interface ImmutableFloatCollection
select
in interface OrderedFloatIterable
select
in interface ReversibleFloatIterable
ImmutableFloatList reject(FloatPredicate predicate)
FloatIterable
reject
in interface FloatIterable
reject
in interface FloatList
reject
in interface ImmutableFloatCollection
reject
in interface OrderedFloatIterable
reject
in interface ReversibleFloatIterable
default ImmutableFloatList tap(FloatProcedure procedure)
tap
in interface FloatIterable
tap
in interface FloatList
tap
in interface ImmutableFloatCollection
<V> ImmutableList<V> collect(FloatToObjectFunction<? extends V> function)
FloatIterable
collect
in interface FloatIterable
collect
in interface FloatList
collect
in interface ImmutableFloatCollection
collect
in interface OrderedFloatIterable
collect
in interface ReversibleFloatIterable
default <V> ImmutableList<V> collectWithIndex(FloatIntToObjectFunction<? extends V> function)
collectWithIndex
in interface FloatList
collectWithIndex
in interface OrderedFloatIterable
collectWithIndex
in interface ReversibleFloatIterable
ImmutableFloatList newWith(float element)
newWith
in interface ImmutableFloatCollection
ImmutableFloatList newWithout(float element)
newWithout
in interface ImmutableFloatCollection
ImmutableFloatList newWithAll(FloatIterable elements)
newWithAll
in interface ImmutableFloatCollection
ImmutableFloatList newWithoutAll(FloatIterable elements)
newWithoutAll
in interface ImmutableFloatCollection
ImmutableFloatList toReversed()
toReversed
in interface FloatList
toReversed
in interface ReversibleFloatIterable
ImmutableFloatList distinct()
distinct
in interface FloatList
distinct
in interface ReversibleFloatIterable
ImmutableFloatList subList(int fromIndex, int toIndex)
subList
in interface FloatList
List.subList(int fromIndex, int toIndex)
default ImmutableList<FloatFloatPair> zipFloat(FloatIterable iterable)
ImmutableList
formed from this ImmutableFloatList
and another FloatList
by
combining corresponding elements in pairs. If one of the two FloatList
s is longer than the other, its
remaining elements are ignored.default <T> ImmutableList<FloatObjectPair<T>> zip(Iterable<T> iterable)
ImmutableList
formed from this ImmutableFloatList
and a ListIterable
by
combining corresponding elements in pairs. If one of the two Lists is longer than the other, its
remaining elements are ignored.Copyright © 2004–2019. All rights reserved.