| Package | Description |
|---|---|
| org.eclipse.collections.api |
This package contains interfaces for Eclipse Collections API.
|
| org.eclipse.collections.api.bag |
This package contains interfaces for Bag API.
|
| org.eclipse.collections.api.bag.sorted |
This package contains interfaces for SortedBag API.
|
| org.eclipse.collections.api.collection | |
| org.eclipse.collections.api.factory.map.primitive | |
| org.eclipse.collections.api.list |
This package contains interfaces for list API which enhance the performance and functionality of
List. |
| org.eclipse.collections.api.map |
This package contains interfaces for map API which enhance the performance and functionality of
Map |
| org.eclipse.collections.api.map.primitive |
This package contains API for primitive to primitive maps, primitive to object maps and object to primitive maps with mutable and immutable variants.
|
| org.eclipse.collections.api.map.sorted |
This package contains mutable and immutable sorted map interfaces.
|
| org.eclipse.collections.api.ordered | |
| org.eclipse.collections.api.set |
This package contains interfaces for set API which enhance the performance and functionality of
Set. |
| org.eclipse.collections.api.set.sorted |
This package contains interfaces for sorted set API.
|
| org.eclipse.collections.api.stack |
This package contains interfaces for stack API.
|
| Modifier and Type | Method and Description |
|---|---|
FloatIterable |
RichIterable.collectFloat(FloatFunction<? super T> floatFunction)
Returns a new primitive
float iterable with the results of applying the specified function on each element
of the source collection. |
LazyFloatIterable |
LazyIterable.collectFloat(FloatFunction<? super T> floatFunction)
Returns a lazy FloatIterable which will transform the underlying iterable data to float values based on the floatFunction.
|
<R extends MutableFloatCollection> |
RichIterable.collectFloat(FloatFunction<? super T> floatFunction,
R target)
Same as
RichIterable.collectFloat(FloatFunction), except that the results are gathered into the specified target
collection. |
<V> ObjectDoubleMap<V> |
RichIterable.sumByFloat(Function<? super T,? extends V> groupBy,
FloatFunction<? super T> function)
Groups and sums the values using the two specified functions.
|
default DoubleSummaryStatistics |
RichIterable.summarizeFloat(FloatFunction<? super T> function)
Returns the result of summarizing the value returned from applying the FloatFunction to
each element of the iterable.
|
double |
RichIterable.sumOfFloat(FloatFunction<? super T> function)
Returns the final double result of evaluating function for each element of the iterable and adding the results
together.
|
double |
ParallelIterable.sumOfFloat(FloatFunction<? super T> function)
Returns the final double result of evaluating function for each element of the iterable in parallel
and adding the results together.
|
| Modifier and Type | Method and Description |
|---|---|
FloatBag |
UnsortedBag.collectFloat(FloatFunction<? super T> floatFunction) |
MutableFloatBag |
MutableBag.collectFloat(FloatFunction<? super T> floatFunction) |
ImmutableFloatBag |
ImmutableBag.collectFloat(FloatFunction<? super T> floatFunction) |
default DoubleSummaryStatistics |
Bag.summarizeFloat(FloatFunction<? super T> function) |
| Modifier and Type | Method and Description |
|---|---|
FloatList |
SortedBag.collectFloat(FloatFunction<? super T> floatFunction) |
MutableFloatList |
MutableSortedBag.collectFloat(FloatFunction<? super T> floatFunction) |
ImmutableFloatList |
ImmutableSortedBag.collectFloat(FloatFunction<? super T> floatFunction) |
| Modifier and Type | Method and Description |
|---|---|
MutableFloatCollection |
MutableCollection.collectFloat(FloatFunction<? super T> floatFunction)
Returns a new primitive
float iterable with the results of applying the specified function on each element
of the source collection. |
ImmutableFloatCollection |
ImmutableCollection.collectFloat(FloatFunction<? super T> floatFunction) |
<V> MutableObjectDoubleMap<V> |
MutableCollection.sumByFloat(Function<? super T,? extends V> groupBy,
FloatFunction<? super T> function) |
<V> ImmutableObjectDoubleMap<V> |
ImmutableCollection.sumByFloat(Function<? super T,? extends V> groupBy,
FloatFunction<? super T> function) |
| Modifier and Type | Method and Description |
|---|---|
<T> MutableByteFloatMap |
MutableByteFloatMapFactory.from(Iterable<T> iterable,
ByteFunction<? super T> keyFunction,
FloatFunction<? super T> valueFunction)
Creates an
MutableByteFloatMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableByteFloatMap |
ImmutableByteFloatMapFactory.from(Iterable<T> iterable,
ByteFunction<? super T> keyFunction,
FloatFunction<? super T> valueFunction)
Creates an
ImmutableByteFloatMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableCharFloatMap |
MutableCharFloatMapFactory.from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
FloatFunction<? super T> valueFunction)
Creates an
MutableCharFloatMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableCharFloatMap |
ImmutableCharFloatMapFactory.from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
FloatFunction<? super T> valueFunction)
Creates an
ImmutableCharFloatMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableDoubleFloatMap |
MutableDoubleFloatMapFactory.from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
FloatFunction<? super T> valueFunction)
Creates an
MutableDoubleFloatMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableDoubleFloatMap |
ImmutableDoubleFloatMapFactory.from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
FloatFunction<? super T> valueFunction)
Creates an
ImmutableDoubleFloatMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableFloatBooleanMap |
MutableFloatBooleanMapFactory.from(Iterable<T> iterable,
FloatFunction<? super T> keyFunction,
BooleanFunction<? super T> valueFunction)
Creates an
MutableFloatBooleanMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableFloatBooleanMap |
ImmutableFloatBooleanMapFactory.from(Iterable<T> iterable,
FloatFunction<? super T> keyFunction,
BooleanFunction<? super T> valueFunction)
Creates an
ImmutableFloatBooleanMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableFloatByteMap |
MutableFloatByteMapFactory.from(Iterable<T> iterable,
FloatFunction<? super T> keyFunction,
ByteFunction<? super T> valueFunction)
Creates an
MutableFloatByteMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableFloatByteMap |
ImmutableFloatByteMapFactory.from(Iterable<T> iterable,
FloatFunction<? super T> keyFunction,
ByteFunction<? super T> valueFunction)
Creates an
ImmutableFloatByteMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableFloatCharMap |
MutableFloatCharMapFactory.from(Iterable<T> iterable,
FloatFunction<? super T> keyFunction,
CharFunction<? super T> valueFunction)
Creates an
MutableFloatCharMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableFloatCharMap |
ImmutableFloatCharMapFactory.from(Iterable<T> iterable,
FloatFunction<? super T> keyFunction,
CharFunction<? super T> valueFunction)
Creates an
ImmutableFloatCharMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableFloatDoubleMap |
MutableFloatDoubleMapFactory.from(Iterable<T> iterable,
FloatFunction<? super T> keyFunction,
DoubleFunction<? super T> valueFunction)
Creates an
MutableFloatDoubleMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableFloatDoubleMap |
ImmutableFloatDoubleMapFactory.from(Iterable<T> iterable,
FloatFunction<? super T> keyFunction,
DoubleFunction<? super T> valueFunction)
Creates an
ImmutableFloatDoubleMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableFloatFloatMap |
MutableFloatFloatMapFactory.from(Iterable<T> iterable,
FloatFunction<? super T> keyFunction,
FloatFunction<? super T> valueFunction)
Creates an
MutableFloatFloatMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableFloatFloatMap |
MutableFloatFloatMapFactory.from(Iterable<T> iterable,
FloatFunction<? super T> keyFunction,
FloatFunction<? super T> valueFunction)
Creates an
MutableFloatFloatMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableFloatFloatMap |
ImmutableFloatFloatMapFactory.from(Iterable<T> iterable,
FloatFunction<? super T> keyFunction,
FloatFunction<? super T> valueFunction)
Creates an
ImmutableFloatFloatMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableFloatFloatMap |
ImmutableFloatFloatMapFactory.from(Iterable<T> iterable,
FloatFunction<? super T> keyFunction,
FloatFunction<? super T> valueFunction)
Creates an
ImmutableFloatFloatMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T,V> MutableFloatObjectMap<V> |
MutableFloatObjectMapFactory.from(Iterable<T> iterable,
FloatFunction<? super T> keyFunction,
Function<? super T,? extends V> valueFunction)
Creates an
MutableFloatObjectMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T,V> ImmutableFloatObjectMap<V> |
ImmutableFloatObjectMapFactory.from(Iterable<T> iterable,
FloatFunction<? super T> keyFunction,
Function<? super T,? extends V> valueFunction)
Creates an
ImmutableFloatObjectMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableFloatIntMap |
MutableFloatIntMapFactory.from(Iterable<T> iterable,
FloatFunction<? super T> keyFunction,
IntFunction<? super T> valueFunction)
Creates an
MutableFloatIntMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableFloatIntMap |
ImmutableFloatIntMapFactory.from(Iterable<T> iterable,
FloatFunction<? super T> keyFunction,
IntFunction<? super T> valueFunction)
Creates an
ImmutableFloatIntMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableFloatLongMap |
MutableFloatLongMapFactory.from(Iterable<T> iterable,
FloatFunction<? super T> keyFunction,
LongFunction<? super T> valueFunction)
Creates an
MutableFloatLongMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableFloatLongMap |
ImmutableFloatLongMapFactory.from(Iterable<T> iterable,
FloatFunction<? super T> keyFunction,
LongFunction<? super T> valueFunction)
Creates an
ImmutableFloatLongMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableFloatShortMap |
MutableFloatShortMapFactory.from(Iterable<T> iterable,
FloatFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
MutableFloatShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableFloatShortMap |
ImmutableFloatShortMapFactory.from(Iterable<T> iterable,
FloatFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
ImmutableFloatShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T,K> MutableObjectFloatMap<K> |
MutableObjectFloatMapFactory.from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
FloatFunction<? super T> valueFunction)
Creates an
MutableObjectFloatMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T,K> ImmutableObjectFloatMap<K> |
ImmutableObjectFloatMapFactory.from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
FloatFunction<? super T> valueFunction)
Creates an
ImmutableObjectFloatMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableIntFloatMap |
MutableIntFloatMapFactory.from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
FloatFunction<? super T> valueFunction)
Creates an
MutableIntFloatMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableIntFloatMap |
ImmutableIntFloatMapFactory.from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
FloatFunction<? super T> valueFunction)
Creates an
ImmutableIntFloatMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableLongFloatMap |
MutableLongFloatMapFactory.from(Iterable<T> iterable,
LongFunction<? super T> keyFunction,
FloatFunction<? super T> valueFunction)
Creates an
MutableLongFloatMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableLongFloatMap |
ImmutableLongFloatMapFactory.from(Iterable<T> iterable,
LongFunction<? super T> keyFunction,
FloatFunction<? super T> valueFunction)
Creates an
ImmutableLongFloatMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableShortFloatMap |
MutableShortFloatMapFactory.from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
FloatFunction<? super T> valueFunction)
Creates an
MutableShortFloatMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableShortFloatMap |
ImmutableShortFloatMapFactory.from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
FloatFunction<? super T> valueFunction)
Creates an
ImmutableShortFloatMap from an Iterable<T> by applying keyFunction and valueFunction. |
| Modifier and Type | Method and Description |
|---|---|
MutableFloatList |
MutableList.collectFloat(FloatFunction<? super T> floatFunction) |
FloatList |
ListIterable.collectFloat(FloatFunction<? super T> floatFunction) |
ImmutableFloatList |
ImmutableList.collectFloat(FloatFunction<? super T> floatFunction) |
MutableList<T> |
MutableList.sortThisByFloat(FloatFunction<? super T> function) |
| Modifier and Type | Method and Description |
|---|---|
FloatBag |
UnsortedMapIterable.collectFloat(FloatFunction<? super V> floatFunction) |
FloatList |
OrderedMap.collectFloat(FloatFunction<? super V> floatFunction) |
MutableFloatList |
MutableOrderedMap.collectFloat(FloatFunction<? super V> floatFunction) |
MutableFloatBag |
MutableMap.collectFloat(FloatFunction<? super V> floatFunction) |
ImmutableFloatList |
ImmutableOrderedMap.collectFloat(FloatFunction<? super V> floatFunction) |
ImmutableFloatBag |
ImmutableMap.collectFloat(FloatFunction<? super V> floatFunction) |
<V1> MutableObjectDoubleMap<V1> |
MutableMapIterable.sumByFloat(Function<? super V,? extends V1> groupBy,
FloatFunction<? super V> function) |
| Modifier and Type | Method and Description |
|---|---|
FloatBag |
PrimitiveObjectMap.collectFloat(FloatFunction<? super V> floatFunction) |
MutableFloatBag |
MutablePrimitiveObjectMap.collectFloat(FloatFunction<? super V> floatFunction) |
ImmutableFloatBag |
ImmutablePrimitiveObjectMap.collectFloat(FloatFunction<? super V> floatFunction) |
<P> float |
MutableByteFloatMap.getIfAbsentPutWith(byte key,
FloatFunction<? super P> function,
P parameter)
Retrieves the value associated with the key if one exists; if it does not,
invokes the value function with the parameter and associates the result with the key.
|
<P> float |
MutableCharFloatMap.getIfAbsentPutWith(char key,
FloatFunction<? super P> function,
P parameter)
Retrieves the value associated with the key if one exists; if it does not,
invokes the value function with the parameter and associates the result with the key.
|
<P> float |
MutableDoubleFloatMap.getIfAbsentPutWith(double key,
FloatFunction<? super P> function,
P parameter)
Retrieves the value associated with the key if one exists; if it does not,
invokes the value function with the parameter and associates the result with the key.
|
<P> float |
MutableFloatFloatMap.getIfAbsentPutWith(float key,
FloatFunction<? super P> function,
P parameter)
Retrieves the value associated with the key if one exists; if it does not,
invokes the value function with the parameter and associates the result with the key.
|
<P> float |
MutableIntFloatMap.getIfAbsentPutWith(int key,
FloatFunction<? super P> function,
P parameter)
Retrieves the value associated with the key if one exists; if it does not,
invokes the value function with the parameter and associates the result with the key.
|
<P> float |
MutableObjectFloatMap.getIfAbsentPutWith(K key,
FloatFunction<? super P> function,
P parameter)
Retrieves the value associated with the key if one exists; if it does not,
invokes the value function with the parameter and associates the result with the key.
|
<P> float |
MutableLongFloatMap.getIfAbsentPutWith(long key,
FloatFunction<? super P> function,
P parameter)
Retrieves the value associated with the key if one exists; if it does not,
invokes the value function with the parameter and associates the result with the key.
|
<P> float |
MutableShortFloatMap.getIfAbsentPutWith(short key,
FloatFunction<? super P> function,
P parameter)
Retrieves the value associated with the key if one exists; if it does not,
invokes the value function with the parameter and associates the result with the key.
|
float |
MutableObjectFloatMap.getIfAbsentPutWithKey(K key,
FloatFunction<? super K> function)
Retrieves the value associated with the key if one exists; if it does not,
associates the result of invoking the value function with the key.
|
<VV> MutableObjectDoubleMap<VV> |
MutablePrimitiveObjectMap.sumByFloat(Function<? super V,? extends VV> groupBy,
FloatFunction<? super V> function) |
<VV> ImmutableObjectDoubleMap<VV> |
ImmutablePrimitiveObjectMap.sumByFloat(Function<? super V,? extends VV> groupBy,
FloatFunction<? super V> function) |
| Modifier and Type | Method and Description |
|---|---|
FloatList |
SortedMapIterable.collectFloat(FloatFunction<? super V> floatFunction) |
MutableFloatList |
MutableSortedMap.collectFloat(FloatFunction<? super V> floatFunction) |
ImmutableFloatList |
ImmutableSortedMap.collectFloat(FloatFunction<? super V> floatFunction) |
| Modifier and Type | Method and Description |
|---|---|
ReversibleFloatIterable |
ReversibleIterable.collectFloat(FloatFunction<? super T> floatFunction) |
OrderedFloatIterable |
OrderedIterable.collectFloat(FloatFunction<? super T> floatFunction) |
| Modifier and Type | Method and Description |
|---|---|
FloatSet |
UnsortedSetIterable.collectFloat(FloatFunction<? super T> floatFunction) |
MutableFloatSet |
MutableSet.collectFloat(FloatFunction<? super T> floatFunction) |
ImmutableFloatSet |
ImmutableSet.collectFloat(FloatFunction<? super T> floatFunction) |
| Modifier and Type | Method and Description |
|---|---|
FloatList |
SortedSetIterable.collectFloat(FloatFunction<? super T> floatFunction) |
MutableFloatList |
MutableSortedSet.collectFloat(FloatFunction<? super T> floatFunction) |
ImmutableFloatList |
ImmutableSortedSet.collectFloat(FloatFunction<? super T> floatFunction) |
| Modifier and Type | Method and Description |
|---|---|
FloatStack |
StackIterable.collectFloat(FloatFunction<? super T> floatFunction) |
MutableFloatStack |
MutableStack.collectFloat(FloatFunction<? super T> floatFunction) |
ImmutableFloatStack |
ImmutableStack.collectFloat(FloatFunction<? super T> floatFunction) |
<V> MutableObjectDoubleMap<V> |
MutableStack.sumByFloat(Function<? super T,? extends V> groupBy,
FloatFunction<? super T> function) |
<V> ImmutableObjectDoubleMap<V> |
ImmutableStack.sumByFloat(Function<? super T,? extends V> groupBy,
FloatFunction<? super T> function) |
Copyright © 2004–2020. All rights reserved.