Interface ImmutableFloatList
- All Superinterfaces:
FloatIterable,FloatList,ImmutableFloatCollection,OrderedFloatIterable,PrimitiveIterable,ReversibleFloatIterable
This file was automatically generated from template file immutablePrimitiveList.stg.
- Since:
- 3.0.
-
Method Summary
Modifier and TypeMethodDescription<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.distinct()newWith(float element) newWithAll(FloatIterable elements) newWithout(float element) newWithoutAll(FloatIterable elements) reject(FloatPredicate predicate) Returns a new FloatIterable with all of the elements in the FloatIterable that return false for the specified predicate.default ImmutableFloatListrejectWithIndex(FloatIntPredicate predicate) Returns a new ImmutableFloatList excluding all elements with corresponding indexes matching the specified predicate.select(FloatPredicate predicate) Returns a new FloatIterable with all of the elements in the FloatIterable that return true for the specified predicate.default ImmutableFloatListselectWithIndex(FloatIntPredicate predicate) Returns a new ImmutableFloatList including all elements with corresponding indexes matching the specified predicate.subList(int fromIndex, int toIndex) default ImmutableFloatListtap(FloatProcedure procedure) default <T> ImmutableList<FloatObjectPair<T>>Returns anImmutableListformed from thisImmutableFloatListand aListIterableby combining corresponding elements in pairs.default ImmutableList<FloatFloatPair>zipFloat(FloatIterable iterable) Returns anImmutableListformed from thisImmutableFloatListand anotherFloatListby combining corresponding elements in pairs.Methods inherited from interface org.eclipse.collections.api.FloatIterable
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, flatCollect, floatIterator, forEach, injectInto, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toSortedList, toSortedListBy, toSortedListByMethods inherited from interface org.eclipse.collections.api.list.primitive.FloatList
binarySearch, dotProduct, equals, forEachInBoth, get, hashCode, lastIndexOf, toImmutableMethods inherited from interface org.eclipse.collections.api.ordered.primitive.OrderedFloatIterable
collectWithIndex, forEachWithIndex, getFirst, indexOf, rejectWithIndex, selectWithIndex, toStackMethods inherited from interface org.eclipse.collections.api.PrimitiveIterable
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringMethods inherited from interface org.eclipse.collections.api.ordered.primitive.ReversibleFloatIterable
asReversed, getLast, injectIntoWithIndex
-
Method Details
-
select
Description copied from interface:FloatIterableReturns a new FloatIterable with all of the elements in the FloatIterable that return true for the specified predicate.- Specified by:
selectin interfaceFloatIterable- Specified by:
selectin interfaceFloatList- Specified by:
selectin interfaceImmutableFloatCollection- Specified by:
selectin interfaceOrderedFloatIterable- Specified by:
selectin interfaceReversibleFloatIterable
-
reject
Description copied from interface:FloatIterableReturns a new FloatIterable with all of the elements in the FloatIterable that return false for the specified predicate.- Specified by:
rejectin interfaceFloatIterable- Specified by:
rejectin interfaceFloatList- Specified by:
rejectin interfaceImmutableFloatCollection- Specified by:
rejectin interfaceOrderedFloatIterable- Specified by:
rejectin interfaceReversibleFloatIterable
-
tap
- Specified by:
tapin interfaceFloatIterable- Specified by:
tapin interfaceFloatList- Specified by:
tapin interfaceImmutableFloatCollection- Since:
- 9.0.
-
selectWithIndex
Returns a new ImmutableFloatList including all elements with corresponding indexes matching the specified predicate.- Specified by:
selectWithIndexin interfaceFloatList- Specified by:
selectWithIndexin interfaceOrderedFloatIterable- Specified by:
selectWithIndexin interfaceReversibleFloatIterable- Since:
- 11.1.
-
rejectWithIndex
Returns a new ImmutableFloatList excluding all elements with corresponding indexes matching the specified predicate.- Specified by:
rejectWithIndexin interfaceFloatList- Specified by:
rejectWithIndexin interfaceOrderedFloatIterable- Specified by:
rejectWithIndexin interfaceReversibleFloatIterable- Since:
- 11.1.
-
collect
Description copied from interface:FloatIterableReturns a new collection with the results of applying the specified function on each element of the source collection. This method is also commonly called transform or map.- Specified by:
collectin interfaceFloatIterable- Specified by:
collectin interfaceFloatList- Specified by:
collectin interfaceImmutableFloatCollection- Specified by:
collectin interfaceOrderedFloatIterable- Specified by:
collectin interfaceReversibleFloatIterable
-
collectWithIndex
Returns a new ImmutableList using results obtained by applying the specified function to each element and its corresponding index.- Specified by:
collectWithIndexin interfaceFloatList- Specified by:
collectWithIndexin interfaceOrderedFloatIterable- Specified by:
collectWithIndexin interfaceReversibleFloatIterable- Since:
- 9.1.
-
newWith
- Specified by:
newWithin interfaceImmutableFloatCollection
-
newWithout
- Specified by:
newWithoutin interfaceImmutableFloatCollection
-
newWithAll
- Specified by:
newWithAllin interfaceImmutableFloatCollection
-
newWithoutAll
- Specified by:
newWithoutAllin interfaceImmutableFloatCollection
-
toReversed
ImmutableFloatList toReversed()- Specified by:
toReversedin interfaceFloatList- Specified by:
toReversedin interfaceReversibleFloatIterable
-
distinct
ImmutableFloatList distinct()- Specified by:
distinctin interfaceFloatList- Specified by:
distinctin interfaceReversibleFloatIterable- Since:
- 6.0.
-
subList
-
zipFloat
Returns anImmutableListformed from thisImmutableFloatListand anotherFloatListby combining corresponding elements in pairs. If one of the twoFloatLists is longer than the other, its remaining elements are ignored. -
zip
Returns anImmutableListformed from thisImmutableFloatListand aListIterableby combining corresponding elements in pairs. If one of the two Lists is longer than the other, its remaining elements are ignored.
-