public interface ImmutableFloatList extends ImmutableFloatCollection, FloatList
| Modifier and Type | Method and 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. |
binarySearch, dotProduct, equals, get, hashCode, lastIndexOf, toImmutableasReversed, getLast, injectIntoWithIndexcollectWithIndex, forEachWithIndex, getFirst, indexOfallSatisfy, 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, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringImmutableFloatList select(FloatPredicate predicate)
FloatIterableselect in interface FloatIterableselect in interface FloatListselect in interface ImmutableFloatCollectionselect in interface OrderedFloatIterableselect in interface ReversibleFloatIterableImmutableFloatList reject(FloatPredicate predicate)
FloatIterablereject in interface FloatIterablereject in interface FloatListreject in interface ImmutableFloatCollectionreject in interface OrderedFloatIterablereject in interface ReversibleFloatIterabledefault ImmutableFloatList tap(FloatProcedure procedure)
tap in interface FloatIterabletap in interface FloatListtap in interface ImmutableFloatCollection<V> ImmutableList<V> collect(FloatToObjectFunction<? extends V> function)
FloatIterablecollect in interface FloatIterablecollect in interface FloatListcollect in interface ImmutableFloatCollectioncollect in interface OrderedFloatIterablecollect in interface ReversibleFloatIterabledefault <V> ImmutableList<V> collectWithIndex(FloatIntToObjectFunction<? extends V> function)
collectWithIndex in interface FloatListcollectWithIndex in interface OrderedFloatIterablecollectWithIndex in interface ReversibleFloatIterableImmutableFloatList newWith(float element)
newWith in interface ImmutableFloatCollectionImmutableFloatList newWithout(float element)
newWithout in interface ImmutableFloatCollectionImmutableFloatList newWithAll(FloatIterable elements)
newWithAll in interface ImmutableFloatCollectionImmutableFloatList newWithoutAll(FloatIterable elements)
newWithoutAll in interface ImmutableFloatCollectionImmutableFloatList toReversed()
toReversed in interface FloatListtoReversed in interface ReversibleFloatIterableImmutableFloatList distinct()
distinct in interface FloatListdistinct in interface ReversibleFloatIterableImmutableFloatList subList(int fromIndex, int toIndex)
subList in interface FloatListList.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 FloatLists 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–2020. All rights reserved.