| 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 |
|---|---|
DoubleIterable |
RichIterable.collectDouble(DoubleFunction<? super T> doubleFunction)
Returns a new primitive
double iterable with the results of applying the specified function on each element
of the source collection. |
LazyDoubleIterable |
LazyIterable.collectDouble(DoubleFunction<? super T> doubleFunction)
Returns a lazy DoubleIterable which will transform the underlying iterable data to double values based on the doubleFunction.
|
default <R extends MutableDoubleCollection> |
RichIterable.collectDouble(DoubleFunction<? super T> doubleFunction,
R target)
Same as
RichIterable.collectDouble(DoubleFunction), except that the results are gathered into the specified target
collection. |
<V> ObjectDoubleMap<V> |
RichIterable.sumByDouble(Function<? super T,? extends V> groupBy,
DoubleFunction<? super T> function)
Groups and sums the values using the two specified functions.
|
default DoubleSummaryStatistics |
RichIterable.summarizeDouble(DoubleFunction<? super T> function)
Returns the result of summarizing the value returned from applying the DoubleFunction to
each element of the iterable.
|
double |
RichIterable.sumOfDouble(DoubleFunction<? super T> function)
Returns the final double result of evaluating function for each element of the iterable and adding the results
together.
|
double |
ParallelIterable.sumOfDouble(DoubleFunction<? 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 |
|---|---|
DoubleBag |
UnsortedBag.collectDouble(DoubleFunction<? super T> doubleFunction) |
default MutableDoubleBag |
MutableBag.collectDouble(DoubleFunction<? super T> doubleFunction) |
ImmutableDoubleBag |
ImmutableBag.collectDouble(DoubleFunction<? super T> doubleFunction) |
default DoubleSummaryStatistics |
Bag.summarizeDouble(DoubleFunction<? super T> function) |
| Modifier and Type | Method and Description |
|---|---|
DoubleList |
SortedBag.collectDouble(DoubleFunction<? super T> doubleFunction) |
MutableDoubleList |
MutableSortedBag.collectDouble(DoubleFunction<? super T> doubleFunction) |
ImmutableDoubleList |
ImmutableSortedBag.collectDouble(DoubleFunction<? super T> doubleFunction) |
| Modifier and Type | Method and Description |
|---|---|
default MutableDoubleCollection |
MutableCollection.collectDouble(DoubleFunction<? super T> doubleFunction)
Returns a new primitive
double iterable with the results of applying the specified function on each element
of the source collection. |
ImmutableDoubleCollection |
ImmutableCollection.collectDouble(DoubleFunction<? super T> doubleFunction) |
<V> MutableObjectDoubleMap<V> |
MutableCollection.sumByDouble(Function<? super T,? extends V> groupBy,
DoubleFunction<? super T> function) |
<V> ImmutableObjectDoubleMap<V> |
ImmutableCollection.sumByDouble(Function<? super T,? extends V> groupBy,
DoubleFunction<? super T> function) |
| Modifier and Type | Method and Description |
|---|---|
<T> MutableByteDoubleMap |
MutableByteDoubleMapFactory.from(Iterable<T> iterable,
ByteFunction<? super T> keyFunction,
DoubleFunction<? super T> valueFunction)
Creates an
MutableByteDoubleMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableByteDoubleMap |
ImmutableByteDoubleMapFactory.from(Iterable<T> iterable,
ByteFunction<? super T> keyFunction,
DoubleFunction<? super T> valueFunction)
Creates an
ImmutableByteDoubleMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableCharDoubleMap |
MutableCharDoubleMapFactory.from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
DoubleFunction<? super T> valueFunction)
Creates an
MutableCharDoubleMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableCharDoubleMap |
ImmutableCharDoubleMapFactory.from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
DoubleFunction<? super T> valueFunction)
Creates an
ImmutableCharDoubleMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableDoubleBooleanMap |
MutableDoubleBooleanMapFactory.from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
BooleanFunction<? super T> valueFunction)
Creates an
MutableDoubleBooleanMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableDoubleBooleanMap |
ImmutableDoubleBooleanMapFactory.from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
BooleanFunction<? super T> valueFunction)
Creates an
ImmutableDoubleBooleanMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableDoubleByteMap |
MutableDoubleByteMapFactory.from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
ByteFunction<? super T> valueFunction)
Creates an
MutableDoubleByteMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableDoubleByteMap |
ImmutableDoubleByteMapFactory.from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
ByteFunction<? super T> valueFunction)
Creates an
ImmutableDoubleByteMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableDoubleCharMap |
MutableDoubleCharMapFactory.from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
CharFunction<? super T> valueFunction)
Creates an
MutableDoubleCharMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableDoubleCharMap |
ImmutableDoubleCharMapFactory.from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
CharFunction<? super T> valueFunction)
Creates an
ImmutableDoubleCharMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableDoubleDoubleMap |
MutableDoubleDoubleMapFactory.from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
DoubleFunction<? super T> valueFunction)
Creates an
MutableDoubleDoubleMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableDoubleDoubleMap |
MutableDoubleDoubleMapFactory.from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
DoubleFunction<? super T> valueFunction)
Creates an
MutableDoubleDoubleMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableDoubleDoubleMap |
ImmutableDoubleDoubleMapFactory.from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
DoubleFunction<? super T> valueFunction)
Creates an
ImmutableDoubleDoubleMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableDoubleDoubleMap |
ImmutableDoubleDoubleMapFactory.from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
DoubleFunction<? super T> valueFunction)
Creates an
ImmutableDoubleDoubleMap 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,V> MutableDoubleObjectMap<V> |
MutableDoubleObjectMapFactory.from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
Function<? super T,? extends V> valueFunction)
Creates an
MutableDoubleObjectMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T,V> ImmutableDoubleObjectMap<V> |
ImmutableDoubleObjectMapFactory.from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
Function<? super T,? extends V> valueFunction)
Creates an
ImmutableDoubleObjectMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableDoubleIntMap |
MutableDoubleIntMapFactory.from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
IntFunction<? super T> valueFunction)
Creates an
MutableDoubleIntMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableDoubleIntMap |
ImmutableDoubleIntMapFactory.from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
IntFunction<? super T> valueFunction)
Creates an
ImmutableDoubleIntMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableDoubleLongMap |
MutableDoubleLongMapFactory.from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
LongFunction<? super T> valueFunction)
Creates an
MutableDoubleLongMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableDoubleLongMap |
ImmutableDoubleLongMapFactory.from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
LongFunction<? super T> valueFunction)
Creates an
ImmutableDoubleLongMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableDoubleShortMap |
MutableDoubleShortMapFactory.from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
MutableDoubleShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableDoubleShortMap |
ImmutableDoubleShortMapFactory.from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
ImmutableDoubleShortMap 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,K> MutableObjectDoubleMap<K> |
MutableObjectDoubleMapFactory.from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
DoubleFunction<? super T> valueFunction)
Creates an
MutableObjectDoubleMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T,K> ImmutableObjectDoubleMap<K> |
ImmutableObjectDoubleMapFactory.from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
DoubleFunction<? super T> valueFunction)
Creates an
ImmutableObjectDoubleMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableIntDoubleMap |
MutableIntDoubleMapFactory.from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
DoubleFunction<? super T> valueFunction)
Creates an
MutableIntDoubleMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableIntDoubleMap |
ImmutableIntDoubleMapFactory.from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
DoubleFunction<? super T> valueFunction)
Creates an
ImmutableIntDoubleMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableLongDoubleMap |
MutableLongDoubleMapFactory.from(Iterable<T> iterable,
LongFunction<? super T> keyFunction,
DoubleFunction<? super T> valueFunction)
Creates an
MutableLongDoubleMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableLongDoubleMap |
ImmutableLongDoubleMapFactory.from(Iterable<T> iterable,
LongFunction<? super T> keyFunction,
DoubleFunction<? super T> valueFunction)
Creates an
ImmutableLongDoubleMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableShortDoubleMap |
MutableShortDoubleMapFactory.from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
DoubleFunction<? super T> valueFunction)
Creates an
MutableShortDoubleMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableShortDoubleMap |
ImmutableShortDoubleMapFactory.from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
DoubleFunction<? super T> valueFunction)
Creates an
ImmutableShortDoubleMap from an Iterable<T> by applying keyFunction and valueFunction. |
| Modifier and Type | Method and Description |
|---|---|
default MutableDoubleList |
MutableList.collectDouble(DoubleFunction<? super T> doubleFunction) |
DoubleList |
ListIterable.collectDouble(DoubleFunction<? super T> doubleFunction) |
ImmutableDoubleList |
ImmutableList.collectDouble(DoubleFunction<? super T> doubleFunction) |
MutableList<T> |
MutableList.sortThisByDouble(DoubleFunction<? super T> function) |
MultiReaderList<T> |
MultiReaderList.sortThisByDouble(DoubleFunction<? super T> function) |
| Modifier and Type | Method and Description |
|---|---|
DoubleBag |
UnsortedMapIterable.collectDouble(DoubleFunction<? super V> doubleFunction) |
DoubleList |
OrderedMap.collectDouble(DoubleFunction<? super V> doubleFunction) |
MutableDoubleList |
MutableOrderedMap.collectDouble(DoubleFunction<? super V> doubleFunction) |
MutableDoubleBag |
MutableMap.collectDouble(DoubleFunction<? super V> doubleFunction) |
ImmutableDoubleList |
ImmutableOrderedMap.collectDouble(DoubleFunction<? super V> doubleFunction) |
ImmutableDoubleBag |
ImmutableMap.collectDouble(DoubleFunction<? super V> doubleFunction) |
<V1> MutableObjectDoubleMap<V1> |
MutableMapIterable.sumByDouble(Function<? super V,? extends V1> groupBy,
DoubleFunction<? super V> function) |
| Modifier and Type | Method and Description |
|---|---|
DoubleBag |
PrimitiveObjectMap.collectDouble(DoubleFunction<? super V> doubleFunction) |
MutableDoubleBag |
MutablePrimitiveObjectMap.collectDouble(DoubleFunction<? super V> doubleFunction) |
ImmutableDoubleBag |
ImmutablePrimitiveObjectMap.collectDouble(DoubleFunction<? super V> doubleFunction) |
<P> double |
MutableByteDoubleMap.getIfAbsentPutWith(byte key,
DoubleFunction<? 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> double |
MutableCharDoubleMap.getIfAbsentPutWith(char key,
DoubleFunction<? 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> double |
MutableDoubleDoubleMap.getIfAbsentPutWith(double key,
DoubleFunction<? 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> double |
MutableFloatDoubleMap.getIfAbsentPutWith(float key,
DoubleFunction<? 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> double |
MutableIntDoubleMap.getIfAbsentPutWith(int key,
DoubleFunction<? 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> double |
MutableObjectDoubleMap.getIfAbsentPutWith(K key,
DoubleFunction<? 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> double |
MutableLongDoubleMap.getIfAbsentPutWith(long key,
DoubleFunction<? 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> double |
MutableShortDoubleMap.getIfAbsentPutWith(short key,
DoubleFunction<? 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.
|
double |
MutableObjectDoubleMap.getIfAbsentPutWithKey(K key,
DoubleFunction<? 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.sumByDouble(Function<? super V,? extends VV> groupBy,
DoubleFunction<? super V> function) |
<VV> ImmutableObjectDoubleMap<VV> |
ImmutablePrimitiveObjectMap.sumByDouble(Function<? super V,? extends VV> groupBy,
DoubleFunction<? super V> function) |
| Modifier and Type | Method and Description |
|---|---|
DoubleList |
SortedMapIterable.collectDouble(DoubleFunction<? super V> doubleFunction) |
MutableDoubleList |
MutableSortedMap.collectDouble(DoubleFunction<? super V> doubleFunction) |
ImmutableDoubleList |
ImmutableSortedMap.collectDouble(DoubleFunction<? super V> doubleFunction) |
| Modifier and Type | Method and Description |
|---|---|
ReversibleDoubleIterable |
ReversibleIterable.collectDouble(DoubleFunction<? super T> doubleFunction) |
OrderedDoubleIterable |
OrderedIterable.collectDouble(DoubleFunction<? super T> doubleFunction) |
| Modifier and Type | Method and Description |
|---|---|
DoubleSet |
UnsortedSetIterable.collectDouble(DoubleFunction<? super T> doubleFunction) |
default MutableDoubleSet |
MutableSet.collectDouble(DoubleFunction<? super T> doubleFunction) |
ImmutableDoubleSet |
ImmutableSet.collectDouble(DoubleFunction<? super T> doubleFunction) |
| Modifier and Type | Method and Description |
|---|---|
DoubleList |
SortedSetIterable.collectDouble(DoubleFunction<? super T> doubleFunction) |
MutableDoubleList |
MutableSortedSet.collectDouble(DoubleFunction<? super T> doubleFunction) |
ImmutableDoubleList |
ImmutableSortedSet.collectDouble(DoubleFunction<? super T> doubleFunction) |
| Modifier and Type | Method and Description |
|---|---|
DoubleStack |
StackIterable.collectDouble(DoubleFunction<? super T> doubleFunction) |
MutableDoubleStack |
MutableStack.collectDouble(DoubleFunction<? super T> doubleFunction) |
ImmutableDoubleStack |
ImmutableStack.collectDouble(DoubleFunction<? super T> doubleFunction) |
<V> MutableObjectDoubleMap<V> |
MutableStack.sumByDouble(Function<? super T,? extends V> groupBy,
DoubleFunction<? super T> function) |
<V> ImmutableObjectDoubleMap<V> |
ImmutableStack.sumByDouble(Function<? super T,? extends V> groupBy,
DoubleFunction<? super T> function) |
Copyright © 2004–2023. All rights reserved.