| 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.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 |
|---|---|
LongIterable |
RichIterable.collectLong(LongFunction<? super T> longFunction)
Returns a new primitive
long iterable with the results of applying the specified function on each element
of the source collection. |
LazyLongIterable |
LazyIterable.collectLong(LongFunction<? super T> longFunction)
Returns a lazy LongIterable which will transform the underlying iterable data to long values based on the longFunction.
|
<R extends MutableLongCollection> |
RichIterable.collectLong(LongFunction<? super T> longFunction,
R target)
Same as
RichIterable.collectLong(LongFunction), except that the results are gathered into the specified target
collection. |
<V> ObjectLongMap<V> |
RichIterable.sumByLong(Function<? super T,? extends V> groupBy,
LongFunction<? super T> function)
Groups and sums the values using the two specified functions.
|
default LongSummaryStatistics |
RichIterable.summarizeLong(LongFunction<? super T> function)
Returns the result of summarizing the value returned from applying the LongFunction to
each element of the iterable.
|
long |
RichIterable.sumOfLong(LongFunction<? super T> function)
Returns the final long result of evaluating function for each element of the iterable and adding the results
together.
|
long |
ParallelIterable.sumOfLong(LongFunction<? 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 |
|---|---|
MutableLongBag |
MutableBag.collectLong(LongFunction<? super T> longFunction) |
ImmutableLongBag |
ImmutableBag.collectLong(LongFunction<? super T> longFunction) |
LongBag |
UnsortedBag.collectLong(LongFunction<? super T> longFunction) |
default LongSummaryStatistics |
Bag.summarizeLong(LongFunction<? super T> function) |
| Modifier and Type | Method and Description |
|---|---|
MutableLongList |
MutableSortedBag.collectLong(LongFunction<? super T> longFunction) |
ImmutableLongList |
ImmutableSortedBag.collectLong(LongFunction<? super T> longFunction) |
LongList |
SortedBag.collectLong(LongFunction<? super T> longFunction) |
| Modifier and Type | Method and Description |
|---|---|
MutableLongCollection |
MutableCollection.collectLong(LongFunction<? super T> longFunction)
Returns a new primitive
long iterable with the results of applying the specified function on each element
of the source collection. |
ImmutableLongCollection |
ImmutableCollection.collectLong(LongFunction<? super T> longFunction) |
<V> MutableObjectLongMap<V> |
MutableCollection.sumByLong(Function<? super T,? extends V> groupBy,
LongFunction<? super T> function) |
<V> ImmutableObjectLongMap<V> |
ImmutableCollection.sumByLong(Function<? super T,? extends V> groupBy,
LongFunction<? super T> function) |
| Modifier and Type | Method and Description |
|---|---|
LongList |
ListIterable.collectLong(LongFunction<? super T> longFunction) |
MutableLongList |
MutableList.collectLong(LongFunction<? super T> longFunction) |
ImmutableLongList |
ImmutableList.collectLong(LongFunction<? super T> longFunction) |
MutableList<T> |
MutableList.sortThisByLong(LongFunction<? super T> function) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableLongBag |
ImmutableMap.collectLong(LongFunction<? super V> longFunction) |
LongBag |
UnsortedMapIterable.collectLong(LongFunction<? super V> longFunction) |
LongList |
OrderedMap.collectLong(LongFunction<? super V> longFunction) |
MutableLongList |
MutableOrderedMap.collectLong(LongFunction<? super V> longFunction) |
MutableLongBag |
MutableMap.collectLong(LongFunction<? super V> longFunction) |
ImmutableLongList |
ImmutableOrderedMap.collectLong(LongFunction<? super V> longFunction) |
<V1> MutableObjectLongMap<V1> |
MutableMapIterable.sumByLong(Function<? super V,? extends V1> groupBy,
LongFunction<? super V> function) |
| Modifier and Type | Method and Description |
|---|---|
LongBag |
PrimitiveObjectMap.collectLong(LongFunction<? super V> longFunction) |
MutableLongBag |
MutablePrimitiveObjectMap.collectLong(LongFunction<? super V> longFunction) |
ImmutableLongBag |
ImmutablePrimitiveObjectMap.collectLong(LongFunction<? super V> longFunction) |
<P> long |
MutableByteLongMap.getIfAbsentPutWith(byte key,
LongFunction<? super P> function,
P parameter) |
<P> long |
MutableCharLongMap.getIfAbsentPutWith(char key,
LongFunction<? super P> function,
P parameter) |
<P> long |
MutableDoubleLongMap.getIfAbsentPutWith(double key,
LongFunction<? super P> function,
P parameter) |
<P> long |
MutableFloatLongMap.getIfAbsentPutWith(float key,
LongFunction<? super P> function,
P parameter) |
<P> long |
MutableIntLongMap.getIfAbsentPutWith(int key,
LongFunction<? super P> function,
P parameter) |
<P> long |
MutableObjectLongMap.getIfAbsentPutWith(K key,
LongFunction<? super P> function,
P parameter) |
<P> long |
MutableLongLongMap.getIfAbsentPutWith(long key,
LongFunction<? super P> function,
P parameter) |
<P> long |
MutableShortLongMap.getIfAbsentPutWith(short key,
LongFunction<? super P> function,
P parameter) |
long |
MutableObjectLongMap.getIfAbsentPutWithKey(K key,
LongFunction<? super K> function) |
<VV> MutableObjectLongMap<VV> |
MutablePrimitiveObjectMap.sumByLong(Function<? super V,? extends VV> groupBy,
LongFunction<? super V> function) |
<VV> ImmutableObjectLongMap<VV> |
ImmutablePrimitiveObjectMap.sumByLong(Function<? super V,? extends VV> groupBy,
LongFunction<? super V> function) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableLongList |
ImmutableSortedMap.collectLong(LongFunction<? super V> longFunction) |
LongList |
SortedMapIterable.collectLong(LongFunction<? super V> longFunction) |
MutableLongList |
MutableSortedMap.collectLong(LongFunction<? super V> longFunction) |
| Modifier and Type | Method and Description |
|---|---|
ReversibleLongIterable |
ReversibleIterable.collectLong(LongFunction<? super T> longFunction) |
OrderedLongIterable |
OrderedIterable.collectLong(LongFunction<? super T> longFunction) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableLongSet |
ImmutableSet.collectLong(LongFunction<? super T> longFunction) |
LongSet |
UnsortedSetIterable.collectLong(LongFunction<? super T> longFunction) |
MutableLongSet |
MutableSet.collectLong(LongFunction<? super T> longFunction) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableLongList |
ImmutableSortedSet.collectLong(LongFunction<? super T> longFunction) |
LongList |
SortedSetIterable.collectLong(LongFunction<? super T> longFunction) |
MutableLongList |
MutableSortedSet.collectLong(LongFunction<? super T> longFunction) |
| Modifier and Type | Method and Description |
|---|---|
MutableLongStack |
MutableStack.collectLong(LongFunction<? super T> longFunction) |
ImmutableLongStack |
ImmutableStack.collectLong(LongFunction<? super T> longFunction) |
LongStack |
StackIterable.collectLong(LongFunction<? super T> longFunction) |
<V> MutableObjectLongMap<V> |
MutableStack.sumByLong(Function<? super T,? extends V> groupBy,
LongFunction<? super T> function) |
<V> ImmutableObjectLongMap<V> |
ImmutableStack.sumByLong(Function<? super T,? extends V> groupBy,
LongFunction<? super T> function) |
Copyright © 2004–2017. All rights reserved.