Top Description Methods
org.eclipse.collections.api.list.primitive

public Interface ImmutableFloatList

extends ImmutableFloatCollection, FloatList
Imports
org.eclipse.collections.api.FloatIterable, org.eclipse.collections.api.block.function.primitive.FloatIntToObjectFunction, .FloatToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.FloatIntPredicate, .FloatPredicate, org.eclipse.collections.api.block.procedure.primitive.FloatProcedure, org.eclipse.collections.api.collection.primitive.ImmutableFloatCollection, org.eclipse.collections.api.list.ImmutableList, org.eclipse.collections.api.tuple.primitive.FloatFloatPair, .FloatObjectPair

This file was automatically generated from template file immutablePrimitiveList.stg.
Since
3.0.

Method Summary

Modifier and TypeMethod and Description
public <V> ImmutableList<V>
collect(FloatToObjectFunction<? extends V> function)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableFloatCollection.collect, org.eclipse.collections.api.list.primitive.FloatList.collect.

Returns a new collection with the results of applying the specified function on each element of the source collection.

public default <V> ImmutableList<V>
collectWithIndex(FloatIntToObjectFunction<? extends V> function)

Overrides default org.eclipse.collections.api.list.primitive.FloatList.collectWithIndex.

Returns a new ImmutableList using results obtained by applying the specified function to each element and its corresponding index.

public ImmutableFloatList
public ImmutableFloatList
public ImmutableFloatList
public ImmutableFloatList
public ImmutableFloatList
public ImmutableFloatList
reject(FloatPredicate predicate)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableFloatCollection.reject, org.eclipse.collections.api.list.primitive.FloatList.reject.

Returns a new FloatIterable with all of the elements in the FloatIterable that return false for the specified predicate.

public default ImmutableFloatList
rejectWithIndex(FloatIntPredicate predicate)

Overrides default org.eclipse.collections.api.list.primitive.FloatList.rejectWithIndex.

Returns a new ImmutableFloatList excluding all elements with corresponding indexes matching the specified predicate.

public ImmutableFloatList
select(FloatPredicate predicate)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableFloatCollection.select, org.eclipse.collections.api.list.primitive.FloatList.select.

Returns a new FloatIterable with all of the elements in the FloatIterable that return true for the specified predicate.

public default ImmutableFloatList
selectWithIndex(FloatIntPredicate predicate)

Overrides default org.eclipse.collections.api.list.primitive.FloatList.selectWithIndex.

Returns a new ImmutableFloatList including all elements with corresponding indexes matching the specified predicate.

public ImmutableFloatList
public default ImmutableFloatList
public ImmutableFloatList
public default <T> ImmutableList<FloatObjectPair<T>>
zip(Iterable<T> iterable)

Overrides default org.eclipse.collections.api.list.primitive.FloatList.zip.

Returns an ImmutableList formed from this ImmutableFloatList and a ListIterable by combining corresponding elements in pairs.

public default ImmutableList<FloatFloatPair>
zipFloat(FloatIterable iterable)

Overrides default org.eclipse.collections.api.list.primitive.FloatList.zipFloat.

Returns an ImmutableList formed from this ImmutableFloatList and another FloatList by combining corresponding elements in pairs.

Inherited from org.eclipse.collections.api.list.primitive.FloatList:
binarySearchdotProductequalsforEachInBothgethashCodelastIndexOftoImmutable

Method Detail

collectback to summary
public <V> ImmutableList<V> collect(FloatToObjectFunction<? extends V> function)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableFloatCollection.collect, org.eclipse.collections.api.list.primitive.FloatList.collect.

Doc from org.eclipse.collections.api.FloatIterable.collect.

Returns 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.

Annotations
@Override
collectWithIndexback to summary
public default <V> ImmutableList<V> collectWithIndex(FloatIntToObjectFunction<? extends V> function)

Overrides default org.eclipse.collections.api.list.primitive.FloatList.collectWithIndex.

Returns a new ImmutableList using results obtained by applying the specified function to each element and its corresponding index.

Annotations
@Override
Since
9.1.
distinctback to summary
public ImmutableFloatList distinct()

Redeclares org.eclipse.collections.api.list.primitive.FloatList.distinct.

Annotations
@Override
Since
6.0.
newWithback to summary
public ImmutableFloatList newWith(float element)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableFloatCollection.newWith.

Annotations
@Override
newWithAllback to summary
public ImmutableFloatList newWithAll(FloatIterable elements)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableFloatCollection.newWithAll.

Annotations
@Override
newWithoutback to summary
public ImmutableFloatList newWithout(float element)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableFloatCollection.newWithout.

Annotations
@Override
newWithoutAllback to summary
public ImmutableFloatList newWithoutAll(FloatIterable elements)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableFloatCollection.newWithoutAll.

Annotations
@Override
rejectback to summary
public ImmutableFloatList reject(FloatPredicate predicate)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableFloatCollection.reject, org.eclipse.collections.api.list.primitive.FloatList.reject.

Doc from org.eclipse.collections.api.FloatIterable.reject.

Returns a new FloatIterable with all of the elements in the FloatIterable that return false for the specified predicate.

Annotations
@Override
rejectWithIndexback to summary
public default ImmutableFloatList rejectWithIndex(FloatIntPredicate predicate)

Overrides default org.eclipse.collections.api.list.primitive.FloatList.rejectWithIndex.

Returns a new ImmutableFloatList excluding all elements with corresponding indexes matching the specified predicate.

Annotations
@Override
Since
11.1.
selectback to summary
public ImmutableFloatList select(FloatPredicate predicate)

Redeclares org.eclipse.collections.api.collection.primitive.ImmutableFloatCollection.select, org.eclipse.collections.api.list.primitive.FloatList.select.

Doc from org.eclipse.collections.api.FloatIterable.select.

Returns a new FloatIterable with all of the elements in the FloatIterable that return true for the specified predicate.

Annotations
@Override
selectWithIndexback to summary
public default ImmutableFloatList selectWithIndex(FloatIntPredicate predicate)

Overrides default org.eclipse.collections.api.list.primitive.FloatList.selectWithIndex.

Returns a new ImmutableFloatList including all elements with corresponding indexes matching the specified predicate.

Annotations
@Override
Since
11.1.
subListback to summary
public ImmutableFloatList subList(int fromIndex, int toIndex)

Redeclares org.eclipse.collections.api.list.primitive.FloatList.subList.

Annotations
@Override
tapback to summary
public default ImmutableFloatList tap(FloatProcedure procedure)

Overrides default org.eclipse.collections.api.collection.primitive.ImmutableFloatCollection.tap, org.eclipse.collections.api.list.primitive.FloatList.tap.

Annotations
@Override
Since
9.0.
toReversedback to summary
public ImmutableFloatList toReversed()

Redeclares org.eclipse.collections.api.list.primitive.FloatList.toReversed.

Annotations
@Override
zipback to summary
public default <T> ImmutableList<FloatObjectPair<T>> zip(Iterable<T> iterable)

Overrides default org.eclipse.collections.api.list.primitive.FloatList.zip.

Returns an 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.

Since
9.1.
zipFloatback to summary
public default ImmutableList<FloatFloatPair> zipFloat(FloatIterable iterable)

Overrides default org.eclipse.collections.api.list.primitive.FloatList.zipFloat.

Returns an 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.

Since
9.1.