| 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 |
|---|---|
IntIterable |
RichIterable.collectInt(IntFunction<? super T> intFunction)
Returns a new primitive
int iterable with the results of applying the specified function on each element
of the source collection. |
LazyIntIterable |
LazyIterable.collectInt(IntFunction<? super T> intFunction)
Returns a lazy IntIterable which will transform the underlying iterable data to int values based on the intFunction.
|
<R extends MutableIntCollection> |
RichIterable.collectInt(IntFunction<? super T> intFunction,
R target)
Same as
RichIterable.collectInt(IntFunction), except that the results are gathered into the specified target
collection. |
<V> ObjectLongMap<V> |
RichIterable.sumByInt(Function<? super T,? extends V> groupBy,
IntFunction<? super T> function)
Groups and sums the values using the two specified functions.
|
default IntSummaryStatistics |
RichIterable.summarizeInt(IntFunction<? super T> function)
Returns the result of summarizing the value returned from applying the IntFunction to
each element of the iterable.
|
long |
RichIterable.sumOfInt(IntFunction<? super T> function)
Returns the final long result of evaluating function for each element of the iterable and adding the results
together.
|
long |
ParallelIterable.sumOfInt(IntFunction<? super T> function)
Returns the final long result of evaluating function for each element of the iterable in parallel
and adding the results together.
|
| Modifier and Type | Method and Description |
|---|---|
IntBag |
UnsortedBag.collectInt(IntFunction<? super T> intFunction) |
MutableIntBag |
MutableBag.collectInt(IntFunction<? super T> intFunction) |
ImmutableIntBag |
ImmutableBag.collectInt(IntFunction<? super T> intFunction) |
default IntSummaryStatistics |
Bag.summarizeInt(IntFunction<? super T> function) |
| Modifier and Type | Method and Description |
|---|---|
IntList |
SortedBag.collectInt(IntFunction<? super T> intFunction) |
MutableIntList |
MutableSortedBag.collectInt(IntFunction<? super T> intFunction) |
ImmutableIntList |
ImmutableSortedBag.collectInt(IntFunction<? super T> intFunction) |
| Modifier and Type | Method and Description |
|---|---|
MutableIntCollection |
MutableCollection.collectInt(IntFunction<? super T> intFunction)
Returns a new primitive
int iterable with the results of applying the specified function on each element
of the source collection. |
ImmutableIntCollection |
ImmutableCollection.collectInt(IntFunction<? super T> intFunction) |
<V> MutableObjectLongMap<V> |
MutableCollection.sumByInt(Function<? super T,? extends V> groupBy,
IntFunction<? super T> function) |
<V> ImmutableObjectLongMap<V> |
ImmutableCollection.sumByInt(Function<? super T,? extends V> groupBy,
IntFunction<? super T> function) |
| Modifier and Type | Method and Description |
|---|---|
<T> MutableByteIntMap |
MutableByteIntMapFactory.from(Iterable<T> iterable,
ByteFunction<? super T> keyFunction,
IntFunction<? super T> valueFunction)
Creates an
MutableByteIntMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableByteIntMap |
ImmutableByteIntMapFactory.from(Iterable<T> iterable,
ByteFunction<? super T> keyFunction,
IntFunction<? super T> valueFunction)
Creates an
ImmutableByteIntMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableCharIntMap |
MutableCharIntMapFactory.from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
IntFunction<? super T> valueFunction)
Creates an
MutableCharIntMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableCharIntMap |
ImmutableCharIntMapFactory.from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
IntFunction<? super T> valueFunction)
Creates an
ImmutableCharIntMap 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> 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,K> MutableObjectIntMap<K> |
MutableObjectIntMapFactory.from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
IntFunction<? super T> valueFunction)
Creates an
MutableObjectIntMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T,K> ImmutableObjectIntMap<K> |
ImmutableObjectIntMapFactory.from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
IntFunction<? super T> valueFunction)
Creates an
ImmutableObjectIntMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableIntBooleanMap |
MutableIntBooleanMapFactory.from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
BooleanFunction<? super T> valueFunction)
Creates an
MutableIntBooleanMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableIntBooleanMap |
ImmutableIntBooleanMapFactory.from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
BooleanFunction<? super T> valueFunction)
Creates an
ImmutableIntBooleanMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableIntByteMap |
MutableIntByteMapFactory.from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
ByteFunction<? super T> valueFunction)
Creates an
MutableIntByteMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableIntByteMap |
ImmutableIntByteMapFactory.from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
ByteFunction<? super T> valueFunction)
Creates an
ImmutableIntByteMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableIntCharMap |
MutableIntCharMapFactory.from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
CharFunction<? super T> valueFunction)
Creates an
MutableIntCharMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableIntCharMap |
ImmutableIntCharMapFactory.from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
CharFunction<? super T> valueFunction)
Creates an
ImmutableIntCharMap 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> 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,V> MutableIntObjectMap<V> |
MutableIntObjectMapFactory.from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
Function<? super T,? extends V> valueFunction)
Creates an
MutableIntObjectMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T,V> ImmutableIntObjectMap<V> |
ImmutableIntObjectMapFactory.from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
Function<? super T,? extends V> valueFunction)
Creates an
ImmutableIntObjectMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableIntIntMap |
MutableIntIntMapFactory.from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
IntFunction<? super T> valueFunction)
Creates an
MutableIntIntMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableIntIntMap |
MutableIntIntMapFactory.from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
IntFunction<? super T> valueFunction)
Creates an
MutableIntIntMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableIntIntMap |
ImmutableIntIntMapFactory.from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
IntFunction<? super T> valueFunction)
Creates an
ImmutableIntIntMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableIntIntMap |
ImmutableIntIntMapFactory.from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
IntFunction<? super T> valueFunction)
Creates an
ImmutableIntIntMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableIntLongMap |
MutableIntLongMapFactory.from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
LongFunction<? super T> valueFunction)
Creates an
MutableIntLongMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableIntLongMap |
ImmutableIntLongMapFactory.from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
LongFunction<? super T> valueFunction)
Creates an
ImmutableIntLongMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableIntShortMap |
MutableIntShortMapFactory.from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
MutableIntShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableIntShortMap |
ImmutableIntShortMapFactory.from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
ImmutableIntShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableLongIntMap |
MutableLongIntMapFactory.from(Iterable<T> iterable,
LongFunction<? super T> keyFunction,
IntFunction<? super T> valueFunction)
Creates an
MutableLongIntMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableLongIntMap |
ImmutableLongIntMapFactory.from(Iterable<T> iterable,
LongFunction<? super T> keyFunction,
IntFunction<? super T> valueFunction)
Creates an
ImmutableLongIntMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableShortIntMap |
MutableShortIntMapFactory.from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
IntFunction<? super T> valueFunction)
Creates an
MutableShortIntMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableShortIntMap |
ImmutableShortIntMapFactory.from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
IntFunction<? super T> valueFunction)
Creates an
ImmutableShortIntMap from an Iterable<T> by applying keyFunction and valueFunction. |
| Modifier and Type | Method and Description |
|---|---|
MutableIntList |
MutableList.collectInt(IntFunction<? super T> intFunction) |
IntList |
ListIterable.collectInt(IntFunction<? super T> intFunction) |
ImmutableIntList |
ImmutableList.collectInt(IntFunction<? super T> intFunction) |
MutableList<T> |
MutableList.sortThisByInt(IntFunction<? super T> function) |
MultiReaderList<T> |
MultiReaderList.sortThisByInt(IntFunction<? super T> function) |
| Modifier and Type | Method and Description |
|---|---|
IntBag |
UnsortedMapIterable.collectInt(IntFunction<? super V> intFunction) |
IntList |
OrderedMap.collectInt(IntFunction<? super V> intFunction) |
MutableIntList |
MutableOrderedMap.collectInt(IntFunction<? super V> intFunction) |
MutableIntBag |
MutableMap.collectInt(IntFunction<? super V> intFunction) |
ImmutableIntList |
ImmutableOrderedMap.collectInt(IntFunction<? super V> intFunction) |
ImmutableIntBag |
ImmutableMap.collectInt(IntFunction<? super V> intFunction) |
<V1> MutableObjectLongMap<V1> |
MutableMapIterable.sumByInt(Function<? super V,? extends V1> groupBy,
IntFunction<? super V> function) |
| Modifier and Type | Method and Description |
|---|---|
IntBag |
PrimitiveObjectMap.collectInt(IntFunction<? super V> intFunction) |
MutableIntBag |
MutablePrimitiveObjectMap.collectInt(IntFunction<? super V> intFunction) |
ImmutableIntBag |
ImmutablePrimitiveObjectMap.collectInt(IntFunction<? super V> intFunction) |
<P> int |
MutableByteIntMap.getIfAbsentPutWith(byte key,
IntFunction<? 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> int |
MutableCharIntMap.getIfAbsentPutWith(char key,
IntFunction<? 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> int |
MutableDoubleIntMap.getIfAbsentPutWith(double key,
IntFunction<? 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> int |
MutableFloatIntMap.getIfAbsentPutWith(float key,
IntFunction<? 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> int |
MutableIntIntMap.getIfAbsentPutWith(int key,
IntFunction<? 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> int |
MutableObjectIntMap.getIfAbsentPutWith(K key,
IntFunction<? 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> int |
MutableLongIntMap.getIfAbsentPutWith(long key,
IntFunction<? 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> int |
MutableShortIntMap.getIfAbsentPutWith(short key,
IntFunction<? 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.
|
int |
MutableObjectIntMap.getIfAbsentPutWithKey(K key,
IntFunction<? 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> MutableObjectLongMap<VV> |
MutablePrimitiveObjectMap.sumByInt(Function<? super V,? extends VV> groupBy,
IntFunction<? super V> function) |
<VV> ImmutableObjectLongMap<VV> |
ImmutablePrimitiveObjectMap.sumByInt(Function<? super V,? extends VV> groupBy,
IntFunction<? super V> function) |
| Modifier and Type | Method and Description |
|---|---|
IntList |
SortedMapIterable.collectInt(IntFunction<? super V> intFunction) |
MutableIntList |
MutableSortedMap.collectInt(IntFunction<? super V> intFunction) |
ImmutableIntList |
ImmutableSortedMap.collectInt(IntFunction<? super V> intFunction) |
| Modifier and Type | Method and Description |
|---|---|
ReversibleIntIterable |
ReversibleIterable.collectInt(IntFunction<? super T> intFunction) |
OrderedIntIterable |
OrderedIterable.collectInt(IntFunction<? super T> intFunction) |
| Modifier and Type | Method and Description |
|---|---|
IntSet |
UnsortedSetIterable.collectInt(IntFunction<? super T> intFunction) |
MutableIntSet |
MutableSet.collectInt(IntFunction<? super T> intFunction) |
ImmutableIntSet |
ImmutableSet.collectInt(IntFunction<? super T> intFunction) |
| Modifier and Type | Method and Description |
|---|---|
IntList |
SortedSetIterable.collectInt(IntFunction<? super T> intFunction) |
MutableIntList |
MutableSortedSet.collectInt(IntFunction<? super T> intFunction) |
ImmutableIntList |
ImmutableSortedSet.collectInt(IntFunction<? super T> intFunction) |
| Modifier and Type | Method and Description |
|---|---|
IntStack |
StackIterable.collectInt(IntFunction<? super T> intFunction) |
MutableIntStack |
MutableStack.collectInt(IntFunction<? super T> intFunction) |
ImmutableIntStack |
ImmutableStack.collectInt(IntFunction<? super T> intFunction) |
<V> MutableObjectLongMap<V> |
MutableStack.sumByInt(Function<? super T,? extends V> groupBy,
IntFunction<? super T> function) |
<V> ImmutableObjectLongMap<V> |
ImmutableStack.sumByInt(Function<? super T,? extends V> groupBy,
IntFunction<? super T> function) |
Copyright © 2004–2020. All rights reserved.