Uses of Interface
org.eclipse.collections.api.block.function.Function2
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.bimap |
This package contains interfaces for BiMap 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.multimap |
This package contains interfaces for
Multimap . |
org.eclipse.collections.api.multimap.bag |
This package contains interfaces for
BagMultimap . |
org.eclipse.collections.api.multimap.list |
This package contains interfaces for
ListMultimap . |
org.eclipse.collections.api.multimap.ordered | |
org.eclipse.collections.api.multimap.set |
This package contains interfaces for
SetMultimap . |
org.eclipse.collections.api.multimap.sortedbag |
This package contains interfaces for
SortedBagMultimap . |
org.eclipse.collections.api.multimap.sortedset |
This package contains interfaces for
SortedSetMultimap . |
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.
|
org.eclipse.collections.impl |
This package contains implementations for Eclipse Collections API.
|
org.eclipse.collections.impl.bag | |
org.eclipse.collections.impl.bag.immutable |
This package contains implementations of the
ImmutableBag interface. |
org.eclipse.collections.impl.bag.mutable |
This package contains implementations of the
MutableBag interface. |
org.eclipse.collections.impl.bag.sorted.mutable |
This package contains implementations of
MutableSortedBag . |
org.eclipse.collections.impl.bimap | |
org.eclipse.collections.impl.bimap.immutable | |
org.eclipse.collections.impl.bimap.mutable |
This package contains implementations of the
MutableBiMap interface. |
org.eclipse.collections.impl.block.factory |
This package contains factory implementations for
Function , Predicate , SerializableComparator and Procedure . |
org.eclipse.collections.impl.block.function | |
org.eclipse.collections.impl.block.function.checked | |
org.eclipse.collections.impl.block.procedure |
This package contains implementations of
Procedure and Procedure2 . |
org.eclipse.collections.impl.collection | |
org.eclipse.collections.impl.collection.immutable |
This package contains implementations of the
ImmutableCollection interface. |
org.eclipse.collections.impl.collection.mutable |
This package contains implementations of the
MutableCollection interface. |
org.eclipse.collections.impl.collector | |
org.eclipse.collections.impl.factory |
This package contains static utilities for creating mutable and immutable collection factories.
|
org.eclipse.collections.impl.forkjoin |
This package contains implementations which has several parallel algorithms that work with Collections and make use of Java's fork-join
framework.
|
org.eclipse.collections.impl.lazy |
This package contains implementations of the
LazyIterable interface. |
org.eclipse.collections.impl.lazy.parallel | |
org.eclipse.collections.impl.lazy.parallel.bag | |
org.eclipse.collections.impl.lazy.parallel.list | |
org.eclipse.collections.impl.lazy.parallel.set | |
org.eclipse.collections.impl.lazy.parallel.set.sorted | |
org.eclipse.collections.impl.list |
This package contains implementations of the
ListIterable interface. |
org.eclipse.collections.impl.list.fixed |
This package contains implementations of the
FixedSizeList interface. |
org.eclipse.collections.impl.list.mutable |
This package contains implementations of the
MutableList interface. |
org.eclipse.collections.impl.map |
This package contains implementations of the
MapIterable interface. |
org.eclipse.collections.impl.map.immutable |
This package contains implementations of the
ImmutableMap interface. |
org.eclipse.collections.impl.map.mutable |
This package contains implementations of the
MutableMap interface. |
org.eclipse.collections.impl.map.mutable.primitive |
This package contains implementations of the mutable primitive-primitive, primitive-object and object-primitive map interfaces.
|
org.eclipse.collections.impl.map.ordered.mutable | |
org.eclipse.collections.impl.map.sorted.immutable |
This package contains implementations of the
MutableSortedMap interface. |
org.eclipse.collections.impl.map.sorted.mutable |
This package contains implementations of the
MutableSortedMap interface. |
org.eclipse.collections.impl.map.strategy.immutable |
This package contains immutable map implementations backed by hashtables that rely on
HashingStrategy s provided by
the developer to compute the hashCode and equals for the objects stored in the map. |
org.eclipse.collections.impl.map.strategy.mutable |
This package contains mutable map implementations backed by hashtables that rely on
HashingStrategy s provided by
the developer to compute the hashCode and equals for the objects stored in the map. |
org.eclipse.collections.impl.multimap |
This package contains implementations of the
Multimap interface. |
org.eclipse.collections.impl.multimap.bag |
This package contains implementations of the
BagMultimap interface. |
org.eclipse.collections.impl.multimap.bag.sorted | |
org.eclipse.collections.impl.multimap.bag.sorted.immutable | |
org.eclipse.collections.impl.multimap.bag.sorted.mutable | |
org.eclipse.collections.impl.multimap.list |
This package contains implementations of the
ListMultimap interface. |
org.eclipse.collections.impl.multimap.set |
This package contains implementations of the
SetMultimap interface. |
org.eclipse.collections.impl.multimap.set.sorted |
This package contains implementations of the
SortedSetMultimap interface. |
org.eclipse.collections.impl.parallel |
This package contains classes which is used for parallel iteration through the containers.
|
org.eclipse.collections.impl.set | |
org.eclipse.collections.impl.set.immutable |
This package package contains the implementations of
ImmutableSet . |
org.eclipse.collections.impl.set.mutable |
This package package contains implementations of
MutableSet . |
org.eclipse.collections.impl.set.sorted.mutable |
This package contains implementations of
MutableSortedSet . |
org.eclipse.collections.impl.stack.mutable |
This package contains implementations of the
MutableStack interface. |
org.eclipse.collections.impl.utility |
This package contains static utilities that provide iteration pattern implementations which work with JCF collections.
|
org.eclipse.collections.impl.utility.internal |
This package contains static utilities that provide internal iteration pattern implementations which work with JCF collections.
|
-
Uses of Function2 in org.eclipse.collections.api
Methods in org.eclipse.collections.api with parameters of type Function2 Modifier and Type Method Description <K, V> MapIterable<K,V>
ParallelIterable. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
default <K, V> MapIterable<K,V>
RichIterable. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
Applies an aggregate function over the iterable grouping results into a map based on the specific groupBy function.default <K, V, R extends MutableMapIterable<K, V>>
RRichIterable. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, R target)
Applies an aggregate function over the iterable grouping results into the target map based on the specific groupBy function.<P, V> LazyIterable<V>
LazyIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> ParallelIterable<V>
ParallelIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> RichIterable<V>
RichIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
Same asRichIterable.collect(Function)
with aFunction2
and specified parameter which is passed to the block.<P, V, R extends Collection<V>>
RRichIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter, R targetCollection)
Same as collectWith but with a targetCollection parameter to gather the results.default <V, P> Bag<V>
RichIterable. countByWith(Function2<? super T,? super P,? extends V> function, P parameter)
This method will count the number of occurrences of each value calculated by applying the function to each element of the collection with the specified parameter as the second argument.default <V, P, R extends MutableBagIterable<V>>
RRichIterable. countByWith(Function2<? super T,? super P,? extends V> function, P parameter, R target)
This method will count the number of occurrences of each value calculated by applying the function to each element of the collection with the specified parameter as the second argument.default <P, V> LazyIterable<V>
LazyIterable. flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function, P parameter)
default <P, V> RichIterable<V>
RichIterable. flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function, P parameter)
default <P, V, R extends Collection<V>>
RRichIterable. flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function, P parameter, R target)
<IV> IV
RichIterable. injectInto(IV injectedValue, Function2<? super IV,? super T,? extends IV> function)
Returns the final result of evaluating function using each element of the iterable and the previous evaluation result as the parameters. -
Uses of Function2 in org.eclipse.collections.api.bag
Methods in org.eclipse.collections.api.bag with parameters of type Function2 Modifier and Type Method Description default <K, V, R extends MutableMapIterable<K, V>>
RBag. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, R target)
Applies an aggregate function over the iterable grouping results into the target map based on the specific groupBy function.<P, V> ImmutableBag<V>
ImmutableBag. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> MutableBag<V>
MutableBag. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> ParallelUnsortedBag<V>
ParallelUnsortedBag. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> UnsortedBag<V>
UnsortedBag. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
default <V, P> ImmutableBag<V>
ImmutableBag. countByWith(Function2<? super T,? super P,? extends V> function, P parameter)
default <V, P> MutableBag<V>
MutableBag. countByWith(Function2<? super T,? super P,? extends V> function, P parameter)
default <P, V> ImmutableBag<V>
ImmutableBag. flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function, P parameter)
default <P, V> MutableBag<V>
MutableBag. flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function, P parameter)
default <P, V> UnsortedBag<V>
UnsortedBag. flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.api.bag.sorted
Methods in org.eclipse.collections.api.bag.sorted with parameters of type Function2 Modifier and Type Method Description <P, V> ImmutableList<V>
ImmutableSortedBag. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> MutableList<V>
MutableSortedBag. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> ParallelListIterable<V>
ParallelSortedBag. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> ListIterable<V>
SortedBag. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
default <V, P> ImmutableBag<V>
ImmutableSortedBag. countByWith(Function2<? super T,? super P,? extends V> function, P parameter)
default <V, P> MutableBag<V>
MutableSortedBag. countByWith(Function2<? super T,? super P,? extends V> function, P parameter)
default <P, V> ImmutableList<V>
ImmutableSortedBag. flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function, P parameter)
default <P, V> MutableList<V>
MutableSortedBag. flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function, P parameter)
default <P, V> ListIterable<V>
SortedBag. flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.api.bimap
Methods in org.eclipse.collections.api.bimap with parameters of type Function2 Modifier and Type Method Description <K2, V2> BiMap<K2,V2>
BiMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
For each key and value of the map the function is evaluated.<K2, V2> ImmutableBiMap<K2,V2>
ImmutableBiMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> MutableBiMap<K2,V2>
MutableBiMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<R> BiMap<K,R>
BiMap. collectValues(Function2<? super K,? super V,? extends R> function)
For each key and value of the map the function is evaluated.<R> ImmutableBiMap<K,R>
ImmutableBiMap. collectValues(Function2<? super K,? super V,? extends R> function)
<R> MutableBiMap<K,R>
MutableBiMap. collectValues(Function2<? super K,? super V,? extends R> function)
<P, V1> ImmutableBagIterable<V1>
ImmutableBiMap. collectWith(Function2<? super V,? super P,? extends V1> function, P parameter)
default <P, V1> ImmutableBagIterable<V1>
ImmutableBiMap. flatCollectWith(Function2<? super V,? super P,? extends Iterable<V1>> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.api.collection
Methods in org.eclipse.collections.api.collection with parameters of type Function2 Modifier and Type Method Description default <K, V> ImmutableMap<K,V>
ImmutableCollection. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
default <K, V> MutableMap<K,V>
MutableCollection. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
<P, V> ImmutableCollection<V>
ImmutableCollection. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> MutableCollection<V>
MutableCollection. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
Same asRichIterable.collect(Function)
with aFunction2
and specified parameter which is passed to the block.default <V, P> ImmutableBag<V>
ImmutableCollection. countByWith(Function2<? super T,? super P,? extends V> function, P parameter)
default <V, P> MutableBag<V>
MutableCollection. countByWith(Function2<? super T,? super P,? extends V> function, P parameter)
default <P, V> ImmutableCollection<V>
ImmutableCollection. flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function, P parameter)
default <P, V> MutableCollection<V>
MutableCollection. flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.api.list
Methods in org.eclipse.collections.api.list with parameters of type Function2 Modifier and Type Method Description <P, V> ImmutableList<V>
ImmutableList. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> ListIterable<V>
ListIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
default <P, V> MutableList<V>
MutableList. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> ParallelListIterable<V>
ParallelListIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
default <P, V> ImmutableList<V>
ImmutableList. flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function, P parameter)
default <P, V> ListIterable<V>
ListIterable. flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function, P parameter)
default <P, V> MutableList<V>
MutableList. flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.api.map
Methods in org.eclipse.collections.api.map with parameters of type Function2 Modifier and Type Method Description default <K1, V1, V2> ImmutableMap<K1,V2>
ImmutableMap. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
default <KK, VV> ImmutableMap<KK,VV>
ImmutableMap. aggregateBy(Function<? super V,? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
default <K1, V1, V2> ImmutableMapIterable<K1,V2>
ImmutableMapIterable. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
default <KK, VV> ImmutableMapIterable<KK,VV>
ImmutableMapIterable. aggregateBy(Function<? super V,? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
default <K1, V1, V2> ImmutableOrderedMap<K1,V2>
ImmutableOrderedMap. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
<KK, VV> ImmutableOrderedMap<KK,VV>
ImmutableOrderedMap. aggregateBy(Function<? super V,? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
default <K1, V1, V2> MapIterable<K1,V2>
MapIterable. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
Applies an aggregate function over the map grouping results into a map based on the specific key and value groupBy functions.default <K1, V1, V2> MutableMap<K1,V2>
MutableMap. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
default <KK, VV> MutableMap<KK,VV>
MutableMap. aggregateBy(Function<? super V,? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
default <K1, V1, V2> MutableMap<K1,V2>
MutableMapIterable. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
default <KK, VV> MutableMap<KK,VV>
MutableMapIterable. aggregateBy(Function<? super V,? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K2, V2> ImmutableMap<K2,V2>
ImmutableMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> ImmutableMapIterable<K2,V2>
ImmutableMapIterable. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> ImmutableOrderedMap<K2,V2>
ImmutableOrderedMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> MapIterable<K2,V2>
MapIterable. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
For each key and value of the map the function is evaluated.<K2, V2> MutableMap<K2,V2>
MutableMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> MutableMapIterable<K2,V2>
MutableMapIterable. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> MutableOrderedMap<K2,V2>
MutableOrderedMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> OrderedMap<K2,V2>
OrderedMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> UnsortedMapIterable<K2,V2>
UnsortedMapIterable. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<R> ImmutableMap<K,R>
ImmutableMap. collectValues(Function2<? super K,? super V,? extends R> function)
<R> ImmutableMapIterable<K,R>
ImmutableMapIterable. collectValues(Function2<? super K,? super V,? extends R> function)
<R> ImmutableOrderedMap<K,R>
ImmutableOrderedMap. collectValues(Function2<? super K,? super V,? extends R> function)
<R> MapIterable<K,R>
MapIterable. collectValues(Function2<? super K,? super V,? extends R> function)
For each key and value of the map the function is evaluated.<R> MutableMap<K,R>
MutableMap. collectValues(Function2<? super K,? super V,? extends R> function)
<R> MutableMapIterable<K,R>
MutableMapIterable. collectValues(Function2<? super K,? super V,? extends R> function)
<R> MutableOrderedMap<K,R>
MutableOrderedMap. collectValues(Function2<? super K,? super V,? extends R> function)
<R> OrderedMap<K,R>
OrderedMap. collectValues(Function2<? super K,? super V,? extends R> function)
<R> UnsortedMapIterable<K,R>
UnsortedMapIterable. collectValues(Function2<? super K,? super V,? extends R> function)
<P, VV> ImmutableBag<VV>
ImmutableMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, V1> ImmutableList<V1>
ImmutableOrderedMap. collectWith(Function2<? super V,? super P,? extends V1> function, P parameter)
<P, V1> MutableBag<V1>
MutableMap. collectWith(Function2<? super V,? super P,? extends V1> function, P parameter)
<P, V1> MutableList<V1>
MutableOrderedMap. collectWith(Function2<? super V,? super P,? extends V1> function, P parameter)
<P, V1> ListIterable<V1>
OrderedMap. collectWith(Function2<? super V,? super P,? extends V1> function, P parameter)
<P, V1> Bag<V1>
UnsortedMapIterable. collectWith(Function2<? super V,? super P,? extends V1> function, P parameter)
default <V1, P> ImmutableBag<V1>
ImmutableMapIterable. countByWith(Function2<? super V,? super P,? extends V1> function, P parameter)
default <V1, P> MutableBag<V1>
MutableMapIterable. countByWith(Function2<? super V,? super P,? extends V1> function, P parameter)
default <P, R> ImmutableBag<R>
ImmutableMap. flatCollectWith(Function2<? super V,? super P,? extends Iterable<R>> function, P parameter)
default <P, V1> ImmutableList<V1>
ImmutableOrderedMap. flatCollectWith(Function2<? super V,? super P,? extends Iterable<V1>> function, P parameter)
default <P, R> MutableBag<R>
MutableMap. flatCollectWith(Function2<? super V,? super P,? extends Iterable<R>> function, P parameter)
default <P, V1> MutableList<V1>
MutableOrderedMap. flatCollectWith(Function2<? super V,? super P,? extends Iterable<V1>> function, P parameter)
default <P, V1> ListIterable<V1>
OrderedMap. flatCollectWith(Function2<? super V,? super P,? extends Iterable<V1>> function, P parameter)
default <P, V1> Bag<V1>
UnsortedMapIterable. flatCollectWith(Function2<? super V,? super P,? extends Iterable<V1>> function, P parameter)
<P> V
MutableMapIterable. updateValueWith(K key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
Same asMutableMapIterable.updateValue(Object, Function0, Function)
with a Function2 and specified parameter which is passed to the function. -
Uses of Function2 in org.eclipse.collections.api.map.primitive
Methods in org.eclipse.collections.api.map.primitive with parameters of type Function2 Modifier and Type Method Description default <K, VV> ImmutableMap<K,VV>
ImmutablePrimitiveObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
default <K, VV> MutableMap<K,VV>
MutablePrimitiveObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<P, VV> ImmutableBag<VV>
ImmutablePrimitiveObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, VV> MutableBag<VV>
MutablePrimitiveObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, VV> Bag<VV>
PrimitiveObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
default <P, VV> ImmutableBag<VV>
ImmutablePrimitiveObjectMap. flatCollectWith(Function2<? super V,? super P,? extends Iterable<VV>> function, P parameter)
default <P, VV> MutableBag<VV>
MutablePrimitiveObjectMap. flatCollectWith(Function2<? super V,? super P,? extends Iterable<VV>> function, P parameter)
default <P, VV> Bag<VV>
PrimitiveObjectMap. flatCollectWith(Function2<? super V,? super P,? extends Iterable<VV>> function, P parameter)
<P> V
MutableByteObjectMap. updateValueWith(byte key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
Updates or sets the value associated with the key by applying the function to the existing value, if one exists, or the initial value supplied by the factory if one does not.<P> V
MutableCharObjectMap. updateValueWith(char key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
Updates or sets the value associated with the key by applying the function to the existing value, if one exists, or the initial value supplied by the factory if one does not.<P> V
MutableDoubleObjectMap. updateValueWith(double key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
Updates or sets the value associated with the key by applying the function to the existing value, if one exists, or the initial value supplied by the factory if one does not.<P> V
MutableFloatObjectMap. updateValueWith(float key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
Updates or sets the value associated with the key by applying the function to the existing value, if one exists, or the initial value supplied by the factory if one does not.<P> V
MutableIntObjectMap. updateValueWith(int key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
Updates or sets the value associated with the key by applying the function to the existing value, if one exists, or the initial value supplied by the factory if one does not.<P> V
MutableLongObjectMap. updateValueWith(long key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
Updates or sets the value associated with the key by applying the function to the existing value, if one exists, or the initial value supplied by the factory if one does not.<P> V
MutableShortObjectMap. updateValueWith(short key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
Updates or sets the value associated with the key by applying the function to the existing value, if one exists, or the initial value supplied by the factory if one does not. -
Uses of Function2 in org.eclipse.collections.api.map.sorted
Methods in org.eclipse.collections.api.map.sorted with parameters of type Function2 Modifier and Type Method Description default <K1, V1, V2> ImmutableMap<K1,V2>
ImmutableSortedMap. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
default <KK, VV> ImmutableMap<KK,VV>
ImmutableSortedMap. aggregateBy(Function<? super V,? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K2, V2> ImmutableMap<K2,V2>
ImmutableSortedMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> MutableMap<K2,V2>
MutableSortedMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> UnsortedMapIterable<K2,V2>
SortedMapIterable. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<R> ImmutableSortedMap<K,R>
ImmutableSortedMap. collectValues(Function2<? super K,? super V,? extends R> function)
<R> MutableSortedMap<K,R>
MutableSortedMap. collectValues(Function2<? super K,? super V,? extends R> function)
<R> SortedMapIterable<K,R>
SortedMapIterable. collectValues(Function2<? super K,? super V,? extends R> function)
<P, VV> ImmutableList<VV>
ImmutableSortedMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, VV> MutableList<VV>
MutableSortedMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, V1> ListIterable<V1>
SortedMapIterable. collectWith(Function2<? super V,? super P,? extends V1> function, P parameter)
default <P, R> ImmutableList<R>
ImmutableSortedMap. flatCollectWith(Function2<? super V,? super P,? extends Iterable<R>> function, P parameter)
default <P, R> MutableList<R>
MutableSortedMap. flatCollectWith(Function2<? super V,? super P,? extends Iterable<R>> function, P parameter)
default <P, V1> ListIterable<V1>
SortedMapIterable. flatCollectWith(Function2<? super V,? super P,? extends Iterable<V1>> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.api.multimap
Methods in org.eclipse.collections.api.multimap with parameters of type Function2 Modifier and Type Method Description <K2, V2> ImmutableMultimap<K2,V2>
ImmutableMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> Multimap<K2,V2>
Multimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
Returns a new multimap with the results of applying the specified function on each key and value of the source multimap.<K2, V2, R extends MutableMultimap<K2, V2>>
RMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function, R target)
Same as the collect method but uses the specified target multimap for the results.<K2, V2> MutableMultimap<K2,V2>
MutableMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
-
Uses of Function2 in org.eclipse.collections.api.multimap.bag
Methods in org.eclipse.collections.api.multimap.bag with parameters of type Function2 Modifier and Type Method Description <K2, V2> ImmutableBagIterableMultimap<K2,V2>
ImmutableBagIterableMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> ImmutableBagMultimap<K2,V2>
ImmutableBagMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> MutableBagIterableMultimap<K2,V2>
MutableBagIterableMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> MutableBagMultimap<K2,V2>
MutableBagMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> UnsortedBagMultimap<K2,V2>
UnsortedBagMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
-
Uses of Function2 in org.eclipse.collections.api.multimap.list
Methods in org.eclipse.collections.api.multimap.list with parameters of type Function2 Modifier and Type Method Description <K2, V2> ImmutableBagMultimap<K2,V2>
ImmutableListMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> BagMultimap<K2,V2>
ListMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> MutableBagMultimap<K2,V2>
MutableListMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
-
Uses of Function2 in org.eclipse.collections.api.multimap.ordered
Methods in org.eclipse.collections.api.multimap.ordered with parameters of type Function2 Modifier and Type Method Description <K2, V2> BagMultimap<K2,V2>
OrderedIterableMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
-
Uses of Function2 in org.eclipse.collections.api.multimap.set
Methods in org.eclipse.collections.api.multimap.set with parameters of type Function2 Modifier and Type Method Description <K2, V2> ImmutableBagIterableMultimap<K2,V2>
ImmutableSetIterableMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> ImmutableBagMultimap<K2,V2>
ImmutableSetMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> MutableBagIterableMultimap<K2,V2>
MutableSetIterableMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> MutableBagMultimap<K2,V2>
MutableSetMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> UnsortedBagMultimap<K2,V2>
UnsortedSetMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
-
Uses of Function2 in org.eclipse.collections.api.multimap.sortedbag
Methods in org.eclipse.collections.api.multimap.sortedbag with parameters of type Function2 Modifier and Type Method Description <K2, V2> ImmutableBagMultimap<K2,V2>
ImmutableSortedBagMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> MutableBagMultimap<K2,V2>
MutableSortedBagMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> BagMultimap<K2,V2>
SortedBagMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
-
Uses of Function2 in org.eclipse.collections.api.multimap.sortedset
Methods in org.eclipse.collections.api.multimap.sortedset with parameters of type Function2 Modifier and Type Method Description <K2, V2> ImmutableBagMultimap<K2,V2>
ImmutableSortedSetMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> MutableBagMultimap<K2,V2>
MutableSortedSetMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> BagMultimap<K2,V2>
SortedSetMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
-
Uses of Function2 in org.eclipse.collections.api.ordered
Methods in org.eclipse.collections.api.ordered with parameters of type Function2 Modifier and Type Method Description <P, V> OrderedIterable<V>
OrderedIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> ReversibleIterable<V>
ReversibleIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
default <P, V> OrderedIterable<V>
OrderedIterable. flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function, P parameter)
default <P, V> ReversibleIterable<V>
ReversibleIterable. flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.api.set
Methods in org.eclipse.collections.api.set with parameters of type Function2 Modifier and Type Method Description <P, V> ImmutableSet<V>
ImmutableSet. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> MutableSet<V>
MutableSet. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> UnsortedSetIterable<V>
UnsortedSetIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
default <P, V> ImmutableSet<V>
ImmutableSet. flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function, P parameter)
default <P, V> MutableSet<V>
MutableSet. flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function, P parameter)
default <P, V> UnsortedSetIterable<V>
UnsortedSetIterable. flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.api.set.sorted
Methods in org.eclipse.collections.api.set.sorted with parameters of type Function2 Modifier and Type Method Description <P, V> ImmutableList<V>
ImmutableSortedSet. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> MutableList<V>
MutableSortedSet. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> ParallelListIterable<V>
ParallelSortedSetIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> ListIterable<V>
SortedSetIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
default <P, V> ImmutableList<V>
ImmutableSortedSet. flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function, P parameter)
default <P, V> MutableList<V>
MutableSortedSet. flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function, P parameter)
default <P, V> ListIterable<V>
SortedSetIterable. flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.api.stack
Methods in org.eclipse.collections.api.stack with parameters of type Function2 Modifier and Type Method Description default <K, V> ImmutableMap<K,V>
ImmutableStack. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
default <K, V> MutableMap<K,V>
MutableStack. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
<P, V> ImmutableStack<V>
ImmutableStack. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> MutableStack<V>
MutableStack. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> StackIterable<V>
StackIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
default <V, P> ImmutableBag<V>
ImmutableStack. countByWith(Function2<? super T,? super P,? extends V> function, P parameter)
default <V, P> MutableBag<V>
MutableStack. countByWith(Function2<? super T,? super P,? extends V> function, P parameter)
default <P, V> ImmutableStack<V>
ImmutableStack. flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function, P parameter)
default <P, V> MutableStack<V>
MutableStack. flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function, P parameter)
default <P, V> StackIterable<V>
StackIterable. flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.impl
Methods in org.eclipse.collections.impl with parameters of type Function2 Modifier and Type Method Description <K, V> MapIterable<K,V>
UnmodifiableRichIterable. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
<P, V, R extends Collection<V>>
RAbstractRichIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter, R target)
<P, V> RichIterable<V>
UnmodifiableRichIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V, R extends Collection<V>>
RUnmodifiableRichIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter, R targetCollection)
<IV> IV
AbstractRichIterable. injectInto(IV injectedValue, Function2<? super IV,? super T,? extends IV> function)
<IV> IV
UnmodifiableRichIterable. injectInto(IV injectedValue, Function2<? super IV,? super T,? extends IV> function)
-
Uses of Function2 in org.eclipse.collections.impl.bag
Methods in org.eclipse.collections.impl.bag with parameters of type Function2 Modifier and Type Method Description <P, V, R extends Collection<V>>
RAbstractBag. collectWith(Function2<? super T,? super P,? extends V> function, P parameter, R target)
<IV> IV
AbstractBag. injectInto(IV injectedValue, Function2<? super IV,? super T,? extends IV> function)
-
Uses of Function2 in org.eclipse.collections.impl.bag.immutable
Methods in org.eclipse.collections.impl.bag.immutable with parameters of type Function2 Modifier and Type Method Description <P, V> ImmutableBag<V>
AbstractImmutableBag. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<V, P> ImmutableBag<V>
AbstractImmutableBag. countByWith(Function2<? super T,? super P,? extends V> function, P parameter)
<V, P> ImmutableBag<V>
AbstractImmutableBagIterable. countByWith(Function2<? super T,? super P,? extends V> function, P parameter)
<IV> IV
ImmutableHashBag. injectInto(IV injectedValue, Function2<? super IV,? super T,? extends IV> function)
-
Uses of Function2 in org.eclipse.collections.impl.bag.mutable
Methods in org.eclipse.collections.impl.bag.mutable with parameters of type Function2 Modifier and Type Method Description <P, V> MutableBag<V>
AbstractMutableBag. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> MutableBag<V>
MultiReaderHashBag. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> MutableBag<V>
SynchronizedBag. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, A> MutableBag<A>
UnmodifiableBag. collectWith(Function2<? super T,? super P,? extends A> function, P parameter)
<V, P> MutableBag<V>
AbstractMutableBag. countByWith(Function2<? super T,? super P,? extends V> function, P parameter)
<V, P> MutableBag<V>
AbstractMutableBagIterable. countByWith(Function2<? super T,? super P,? extends V> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.impl.bag.sorted.mutable
Methods in org.eclipse.collections.impl.bag.sorted.mutable with parameters of type Function2 Modifier and Type Method Description <P, V> MutableList<V>
AbstractMutableSortedBag. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> MutableList<V>
SynchronizedSortedBag. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, A> MutableList<A>
UnmodifiableSortedBag. collectWith(Function2<? super T,? super P,? extends A> function, P parameter)
<V, P> MutableBag<V>
AbstractMutableSortedBag. countByWith(Function2<? super T,? super P,? extends V> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.impl.bimap
Methods in org.eclipse.collections.impl.bimap with parameters of type Function2 Modifier and Type Method Description <P, VV, R extends Collection<VV>>
RAbstractBiMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<IV> IV
AbstractBiMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
-
Uses of Function2 in org.eclipse.collections.impl.bimap.immutable
Methods in org.eclipse.collections.impl.bimap.immutable with parameters of type Function2 Modifier and Type Method Description <K1, V1, V2> ImmutableMap<K1,V2>
AbstractImmutableBiMap. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
<K2, V2> ImmutableMap<K2,V2>
AbstractImmutableBiMap. aggregateBy(Function<? super V,? extends K2> groupBy, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V,? extends V2> nonMutatingAggregator)
<K2, V2> ImmutableBiMap<K2,V2>
AbstractImmutableBiMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<R> ImmutableBiMap<K,R>
AbstractImmutableBiMap. collectValues(Function2<? super K,? super V,? extends R> function)
<P, VV> ImmutableBag<VV>
AbstractImmutableBiMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.impl.bimap.mutable
Methods in org.eclipse.collections.impl.bimap.mutable with parameters of type Function2 Modifier and Type Method Description <K1, V1, V2> MutableMap<K1,V2>
UnmodifiableBiMap. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
<K, V1> MutableMap<K,V1>
UnmodifiableBiMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends V1> zeroValueFactory, Function2<? super V1,? super V,? extends V1> nonMutatingAggregator)
<K2, V2> MutableBiMap<K2,V2>
SynchronizedBiMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> MutableBiMap<K2,V2>
UnmodifiableBiMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<R> MutableBiMap<K,R>
SynchronizedBiMap. collectValues(Function2<? super K,? super V,? extends R> function)
<R> MutableBiMap<K,R>
UnmodifiableBiMap. collectValues(Function2<? super K,? super V,? extends R> function)
<P, V1> RichIterable<V1>
UnmodifiableBiMap. collectWith(Function2<? super V,? super P,? extends V1> function, P parameter)
<P, VV, R extends Collection<VV>>
RUnmodifiableBiMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<IV> IV
UnmodifiableBiMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<P> V
UnmodifiableBiMap. updateValueWith(K key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.impl.block.factory
Methods in org.eclipse.collections.impl.block.factory that return Function2 Modifier and Type Method Description static <T, V, P> Function2<T,P,V>
Functions2. fromFunction(Function<? super T,? extends V> function)
static Function2<Integer,Integer,Integer>
Functions2. integerAddition()
static <T> Function2<T,T,T>
Functions2. max(Comparator<? super T> comparator)
static <T, V extends Comparable<? super V>>
Function2<T,T,T>Functions2. maxBy(Function<? super T,? extends V> function)
static <T> Function2<T,T,T>
Functions2. min(Comparator<? super T> comparator)
static <T, V extends Comparable<? super V>>
Function2<T,T,T>Functions2. minBy(Function<? super T,? extends V> function)
static <T, V> Function2<MutableObjectDoubleMap<V>,T,MutableObjectDoubleMap<V>>
PrimitiveFunctions. sumByDoubleFunction(Function<? super T,? extends V> groupBy, DoubleFunction<? super T> function)
static <T, V> Function2<MutableObjectDoubleMap<V>,T,MutableObjectDoubleMap<V>>
PrimitiveFunctions. sumByFloatFunction(Function<? super T,? extends V> groupBy, FloatFunction<? super T> function)
static <T, V> Function2<MutableObjectLongMap<V>,T,MutableObjectLongMap<V>>
PrimitiveFunctions. sumByIntFunction(Function<? super T,? extends V> groupBy, IntFunction<? super T> function)
static <T, V> Function2<MutableObjectLongMap<V>,T,MutableObjectLongMap<V>>
PrimitiveFunctions. sumByLongFunction(Function<? super T,? extends V> groupBy, LongFunction<? super T> function)
static <T, V, P> Function2<T,P,V>
Functions2. throwing(ThrowingFunction2<T,P,V> throwingFunction2)
Allows a lambda or anonymous inner class that needs to throw a checked exception to be safely wrapped as a Function2 that will throw a RuntimeException, wrapping the checked exception that is the cause.static <T1, T2, V> Function2<T1,T2,V>
Functions2. throwing(ThrowingFunction2<T1,T2,V> throwingFunction2, Function3<T1,T2,? super Throwable,? extends RuntimeException> rethrow)
Allows a lambda or anonymous inner class that needs to throw a checked exception to be safely wrapped as a Function2 that will throw a user specified RuntimeException based on the provided function.Methods in org.eclipse.collections.impl.block.factory with parameters of type Function2 Modifier and Type Method Description static <T, P, R> Function<T,R>
Functions. bind(Function2<? super T,? super P,? extends R> function, P parameter)
Bind the parameter passed to a Function2 into a new Function.static <T, V> Function<T,V>
Functions. throwing(ThrowingFunction<T,V> throwingFunction, Function2<T,? super Throwable,? extends RuntimeException> rethrow)
Allows a lambda or anonymous inner class that needs to throw a checked exception to be safely wrapped as a Function that will throw a user specified RuntimeException based on the provided function.static <T> Predicate<T>
Predicates. throwing(ThrowingPredicate<T> throwingPredicate, Function2<T,? super Throwable,? extends RuntimeException> rethrow)
Allows a lambda or anonymous inner class that needs to throw a checked exception to be safely wrapped as a Predicate that will throw a user specified RuntimeException based on the provided function.static <T> Procedure<T>
Procedures. throwing(ThrowingProcedure<T> throwingProcedure, Function2<T,? super Throwable,? extends RuntimeException> rethrow)
Allows a lambda or anonymous inner class that needs to throw a checked exception to be safely wrapped as a Procedure that will throw a user specified RuntimeException based on the provided function. -
Uses of Function2 in org.eclipse.collections.impl.block.function
-
Uses of Function2 in org.eclipse.collections.impl.block.function.checked
Classes in org.eclipse.collections.impl.block.function.checked that implement Function2 Modifier and Type Class Description class
CheckedFunction2<T1,T2,R>
-
Uses of Function2 in org.eclipse.collections.impl.block.procedure
Constructors in org.eclipse.collections.impl.block.procedure with parameters of type Function2 Constructor Description InjectIntoProcedure(IV injectedValue, Function2<? super IV,? super T,? extends IV> function)
NonMutatingAggregationProcedure(MutableMapIterable<K,V> map, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
-
Uses of Function2 in org.eclipse.collections.impl.collection
Methods in org.eclipse.collections.impl.collection with parameters of type Function2 Modifier and Type Method Description <K, V> MapIterable<K,V>
AbstractSynchronizedRichIterable. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
<P, A, R extends Collection<A>>
RAbstractSynchronizedRichIterable. collectWith(Function2<? super T,? super P,? extends A> function, P parameter, R targetCollection)
<P, V> RichIterable<V>
AbstractSynchronizedRichIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<V, P> Bag<V>
AbstractSynchronizedRichIterable. countByWith(Function2<? super T,? super P,? extends V> function, P parameter)
<V, P, R extends MutableBagIterable<V>>
RAbstractSynchronizedRichIterable. countByWith(Function2<? super T,? super P,? extends V> function, P parameter, R target)
<IV> IV
AbstractSynchronizedRichIterable. injectInto(IV injectedValue, Function2<? super IV,? super T,? extends IV> function)
-
Uses of Function2 in org.eclipse.collections.impl.collection.immutable
Methods in org.eclipse.collections.impl.collection.immutable with parameters of type Function2 Modifier and Type Method Description <V, P> ImmutableBag<V>
AbstractImmutableCollection. countByWith(Function2<? super T,? super P,? extends V> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.impl.collection.mutable
Methods in org.eclipse.collections.impl.collection.mutable with parameters of type Function2 Modifier and Type Method Description <K, V> MutableMap<K,V>
AbstractSynchronizedMutableCollection. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
<P, A, R extends Collection<A>>
RAbstractCollectionAdapter. collectWith(Function2<? super T,? super P,? extends A> function, P parameter, R targetCollection)
<P, V> MutableCollection<V>
AbstractCollectionAdapter. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V, R extends Collection<V>>
RAbstractMultiReaderMutableCollection. collectWith(Function2<? super T,? super P,? extends V> function, P parameter, R targetCollection)
<P, V> MutableCollection<V>
AbstractSynchronizedMutableCollection. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, A> MutableCollection<A>
AbstractUnmodifiableMutableCollection. collectWith(Function2<? super T,? super P,? extends A> function, P parameter)
<P, A, R extends Collection<A>>
RAbstractUnmodifiableMutableCollection. collectWith(Function2<? super T,? super P,? extends A> function, P parameter, R targetCollection)
<V, P> MutableBag<V>
AbstractMutableCollection. countByWith(Function2<? super T,? super P,? extends V> function, P parameter)
<V, P> MutableBag<V>
AbstractSynchronizedMutableCollection. countByWith(Function2<? super T,? super P,? extends V> function, P parameter)
<IV> IV
AbstractCollectionAdapter. injectInto(IV injectedValue, Function2<? super IV,? super T,? extends IV> function)
<IV> IV
AbstractMultiReaderMutableCollection. injectInto(IV injectedValue, Function2<? super IV,? super T,? extends IV> function)
<IV> IV
AbstractUnmodifiableMutableCollection. injectInto(IV injectedValue, Function2<? super IV,? super T,? extends IV> function)
-
Uses of Function2 in org.eclipse.collections.impl.collector
Methods in org.eclipse.collections.impl.collector with parameters of type Function2 Modifier and Type Method Description static <T, K, R extends MutableMapIterable<K, T>>
Collector<T,?,R>Collectors2. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends T> zeroValueFactory, Function2<? super T,? super T,? extends T> aggregator, Supplier<R> supplier)
Groups the elements using thegroupBy
function and all the elements that map to the same key are aggregated together using theaggregator
function.static <T, P, V, R extends Collection<V>>
Collector<T,?,R>Collectors2. collectWith(Function2<? super T,? super P,? extends V> function, P parameter, Supplier<R> supplier)
Returns a new collection with the results of applying the specified function on each element of the source collection with the specified parameter. -
Uses of Function2 in org.eclipse.collections.impl.factory
Methods in org.eclipse.collections.impl.factory with parameters of type Function2 Modifier and Type Method Description static <A, B, C> LazyIterable<C>
Sets. cartesianProduct(Set<A> set1, Set<B> set2, Function2<? super A,? super B,? extends C> function)
-
Uses of Function2 in org.eclipse.collections.impl.forkjoin
Methods in org.eclipse.collections.impl.forkjoin with parameters of type Function2 Modifier and Type Method Description static <T, K, V> MutableMap<K,V>
FJIterate. aggregateBy(Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
static <T, K, V> MutableMap<K,V>
FJIterate. aggregateBy(Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, int batchSize)
static <T, K, V> MutableMap<K,V>
FJIterate. aggregateBy(Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, int batchSize, ForkJoinPool executor)
static <T, K, V, R extends MutableMapIterable<K, V>>
RFJIterate. aggregateBy(Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, R mutableMap)
static <T, K, V, R extends MutableMapIterable<K, V>>
RFJIterate. aggregateBy(Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, R mutableMap, int batchSize)
static <T, K, V, R extends MutableMapIterable<K, V>>
RFJIterate. aggregateBy(Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, R mutableMap, int batchSize, ForkJoinPool executor)
-
Uses of Function2 in org.eclipse.collections.impl.lazy
Methods in org.eclipse.collections.impl.lazy with parameters of type Function2 Modifier and Type Method Description <P, V> LazyIterable<V>
AbstractLazyIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<IV> IV
CollectIterable. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> f)
-
Uses of Function2 in org.eclipse.collections.impl.lazy.parallel
Methods in org.eclipse.collections.impl.lazy.parallel with parameters of type Function2 Modifier and Type Method Description <K, V> MapIterable<K,V>
AbstractMultiReaderParallelIterable. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
<K, V> MapIterable<K,V>
AbstractParallelIterable. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
<K, V> MapIterable<K,V>
AbstractSynchronizedParallelIterable. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
<K, V> MapIterable<K,V>
NonParallelIterable. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
<P, V> ParallelIterable<V>
AbstractParallelIterableImpl. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> ParallelIterable<V>
MultiReaderParallelIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> ParallelIterable<V>
SynchronizedParallelIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.impl.lazy.parallel.bag
Methods in org.eclipse.collections.impl.lazy.parallel.bag with parameters of type Function2 Modifier and Type Method Description <P, V> ParallelUnsortedBag<V>
AbstractParallelUnsortedBag. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> ParallelUnsortedBag<V>
NonParallelUnsortedBag. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.impl.lazy.parallel.list
Methods in org.eclipse.collections.impl.lazy.parallel.list with parameters of type Function2 Modifier and Type Method Description <P, V> ParallelListIterable<V>
AbstractParallelListIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> ParallelListIterable<V>
MultiReaderParallelListIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> ParallelListIterable<V>
NonParallelListIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> ParallelListIterable<V>
SynchronizedParallelListIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.impl.lazy.parallel.set
Methods in org.eclipse.collections.impl.lazy.parallel.set with parameters of type Function2 Modifier and Type Method Description <P, V> ParallelIterable<V>
AbstractParallelUnsortedSetIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> ParallelIterable<V>
MultiReaderParallelUnsortedSetIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> ParallelIterable<V>
NonParallelUnsortedSetIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> ParallelIterable<V>
SynchronizedParallelUnsortedSetIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.impl.lazy.parallel.set.sorted
Methods in org.eclipse.collections.impl.lazy.parallel.set.sorted with parameters of type Function2 Modifier and Type Method Description <P, V> ParallelListIterable<V>
AbstractParallelSortedSetIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> ParallelListIterable<V>
NonParallelSortedSetIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> ParallelListIterable<V>
SynchronizedParallelSortedSetIterable. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.impl.list
Methods in org.eclipse.collections.impl.list with parameters of type Function2 Modifier and Type Method Description <R> R
Interval. injectInto(R injectValue, Function2<? super R,? super Integer,? extends R> function)
<R> R
Interval. reverseInjectInto(R injectValue, Function2<? super R,Integer,? extends R> function)
-
Uses of Function2 in org.eclipse.collections.impl.list.fixed
Methods in org.eclipse.collections.impl.list.fixed with parameters of type Function2 Modifier and Type Method Description <P, A> MutableList<A>
AbstractArrayAdapter. collectWith(Function2<? super T,? super P,? extends A> function, P parameter)
<P, A, R extends Collection<A>>
RAbstractArrayAdapter. collectWith(Function2<? super T,? super P,? extends A> function, P parameter, R target)
<IV> IV
AbstractArrayAdapter. injectInto(IV injectedValue, Function2<? super IV,? super T,? extends IV> function)
-
Uses of Function2 in org.eclipse.collections.impl.list.mutable
Methods in org.eclipse.collections.impl.list.mutable with parameters of type Function2 Modifier and Type Method Description <P, V> MutableList<V>
AbstractListAdapter. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, A, R extends Collection<A>>
RAbstractMutableList. collectWith(Function2<? super T,? super P,? extends A> function, P parameter, R target)
<P, A> ArrayListAdapter<A>
ArrayListAdapter. collectWith(Function2<? super T,? super P,? extends A> function, P parameter)
<P, A, R extends Collection<A>>
RCompositeFastList. collectWith(Function2<? super E,? super P,? extends A> function, P parameter, R target)
<P, V> FastList<V>
FastList. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V, R extends Collection<V>>
RFastList. collectWith(Function2<? super T,? super P,? extends V> function, P parameter, R target)
<P, V> MutableList<V>
MultiReaderFastList. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> MutableList<V>
RandomAccessListAdapter. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> MutableList<V>
SynchronizedMutableList. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, A> MutableList<A>
UnmodifiableMutableList. collectWith(Function2<? super T,? super P,? extends A> function, P parameter)
<IV> IV
AbstractMutableList. injectInto(IV injectedValue, Function2<? super IV,? super T,? extends IV> function)
<IV> IV
ArrayListAdapter. injectInto(IV injectedValue, Function2<? super IV,? super T,? extends IV> function)
<IV> IV
CompositeFastList. injectInto(IV injectedValue, Function2<? super IV,? super E,? extends IV> function)
<IV> IV
FastList. injectInto(IV injectedValue, Function2<? super IV,? super T,? extends IV> function)
<IV> IV
ListAdapter. injectInto(IV injectedValue, Function2<? super IV,? super T,? extends IV> function)
<IV> IV
RandomAccessListAdapter. injectInto(IV injectedValue, Function2<? super IV,? super T,? extends IV> function)
-
Uses of Function2 in org.eclipse.collections.impl.map
Methods in org.eclipse.collections.impl.map with parameters of type Function2 Modifier and Type Method Description <K1, V1, V2> MutableMap<K1,V2>
AbstractSynchronizedMapIterable. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
<KK, VV> MutableMap<KK,VV>
AbstractSynchronizedMapIterable. aggregateBy(Function<? super V,? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<V1, P> MutableBag<V1>
AbstractSynchronizedMapIterable. countByWith(Function2<? super V,? super P,? extends V1> function, P parameter)
<P> V
AbstractSynchronizedMapIterable. updateValueWith(K key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.impl.map.immutable
Methods in org.eclipse.collections.impl.map.immutable with parameters of type Function2 Modifier and Type Method Description <K1, V1, V2> ImmutableMap<K1,V2>
AbstractImmutableMap. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
<K2, V2> ImmutableMap<K2,V2>
AbstractImmutableMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<R> ImmutableMap<K,R>
AbstractImmutableMap. collectValues(Function2<? super K,? super V,? extends R> function)
<P, VV> ImmutableBag<VV>
AbstractImmutableMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<V1, P> ImmutableBag<V1>
AbstractImmutableMap. countByWith(Function2<? super V,? super P,? extends V1> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.impl.map.mutable
Methods in org.eclipse.collections.impl.map.mutable with parameters of type Function2 Modifier and Type Method Description <K1, V1, V2> MutableMap<K1,V2>
AbstractMutableMapIterable. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
<K1, V1, V2> MutableMap<K1,V2>
UnmodifiableMutableMap. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
<K2, V2> MutableMap<K2,V2>
UnmodifiableMutableMap. aggregateBy(Function<? super V,? extends K2> groupBy, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V,? extends V2> nonMutatingAggregator)
<K2, V2> MutableMap<K2,V2>
AbstractMutableMapIterable. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> MutableMap<K2,V2>
SynchronizedMutableMap. collect(Function2<? super K,? super V,Pair<K2,V2>> pairFunction)
<K2, V2> MutableMap<K2,V2>
UnmodifiableMutableMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<R> MutableMap<K,R>
AbstractMutableMap. collectValues(Function2<? super K,? super V,? extends R> function)
<R> MutableMap<K,R>
SynchronizedMutableMap. collectValues(Function2<? super K,? super V,? extends R> function)
<R> MutableMap<K,R>
UnifiedMap. collectValues(Function2<? super K,? super V,? extends R> function)
<R> MutableMap<K,R>
UnmodifiableMutableMap. collectValues(Function2<? super K,? super V,? extends R> function)
<P, VV> MutableBag<VV>
AbstractMutableMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, A> MutableBag<A>
SynchronizedMutableMap. collectWith(Function2<? super V,? super P,? extends A> function, P parameter)
<P, R, C extends Collection<R>>
CUnmodifiableMutableMap. collectWith(Function2<? super V,? super P,? extends R> function, P parameter, C targetCollection)
<P, VV> MutableBag<VV>
UnmodifiableMutableMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<V1, P> MutableBag<V1>
AbstractMutableMapIterable. countByWith(Function2<? super V,? super P,? extends V1> function, P parameter)
<IV> IV
UnmodifiableMutableMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<P1, P2> V
ConcurrentHashMap. putIfAbsentGetIfPresent(K key, Function2<? super K,? super V,? extends K> keyTransformer, Function3<P1,P2,? super K,? extends V> factory, P1 param1, P2 param2)
It puts an object into the map based on the key.<P1, P2> V
ConcurrentHashMapUnsafe. putIfAbsentGetIfPresent(K key, Function2<? super K,? super V,? extends K> keyTransformer, Function3<P1,P2,? super K,? extends V> factory, P1 param1, P2 param2)
It puts an object into the map based on the key.<P> V
AbstractMutableMapIterable. updateValueWith(K key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
<P> V
ConcurrentHashMap. updateValueWith(K key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
<P> V
ConcurrentHashMapUnsafe. updateValueWith(K key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
<P> V
ConcurrentMutableHashMap. updateValueWith(K key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
Deprecated.<P> V
UnifiedMap. updateValueWith(K key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
<P> V
UnmodifiableMutableMap. updateValueWith(K key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.impl.map.mutable.primitive
Methods in org.eclipse.collections.impl.map.mutable.primitive with parameters of type Function2 Modifier and Type Method Description <K, VV> MutableMap<K,VV>
SynchronizedByteObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K, VV> MutableMap<K,VV>
SynchronizedCharObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K, VV> MutableMap<K,VV>
SynchronizedDoubleObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K, VV> MutableMap<K,VV>
SynchronizedFloatObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K, VV> MutableMap<K,VV>
SynchronizedIntObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K, VV> MutableMap<K,VV>
SynchronizedLongObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K, VV> MutableMap<K,VV>
SynchronizedShortObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K, VV> MutableMap<K,VV>
UnmodifiableByteObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K, VV> MutableMap<K,VV>
UnmodifiableCharObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K, VV> MutableMap<K,VV>
UnmodifiableDoubleObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K, VV> MutableMap<K,VV>
UnmodifiableFloatObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K, VV> MutableMap<K,VV>
UnmodifiableIntObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K, VV> MutableMap<K,VV>
UnmodifiableLongObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K, VV> MutableMap<K,VV>
UnmodifiableShortObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<P, VV> MutableBag<VV>
ByteObjectHashMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, VV, R extends Collection<VV>>
RByteObjectHashMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P, VV> MutableBag<VV>
CharObjectHashMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, VV, R extends Collection<VV>>
RCharObjectHashMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P, VV> MutableBag<VV>
DoubleObjectHashMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, VV, R extends Collection<VV>>
RDoubleObjectHashMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P, VV> MutableBag<VV>
FloatObjectHashMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, VV, R extends Collection<VV>>
RFloatObjectHashMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P, VV> MutableBag<VV>
IntObjectHashMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, VV, R extends Collection<VV>>
RIntObjectHashMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P, VV> MutableBag<VV>
LongObjectHashMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, VV, R extends Collection<VV>>
RLongObjectHashMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P, VV> MutableBag<VV>
ShortObjectHashMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, VV, R extends Collection<VV>>
RShortObjectHashMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P, VV> MutableBag<VV>
SynchronizedByteObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, VV, R extends Collection<VV>>
RSynchronizedByteObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P, VV> MutableBag<VV>
SynchronizedCharObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, VV, R extends Collection<VV>>
RSynchronizedCharObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P, VV> MutableBag<VV>
SynchronizedDoubleObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, VV, R extends Collection<VV>>
RSynchronizedDoubleObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P, VV> MutableBag<VV>
SynchronizedFloatObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, VV, R extends Collection<VV>>
RSynchronizedFloatObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P, VV> MutableBag<VV>
SynchronizedIntObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, VV, R extends Collection<VV>>
RSynchronizedIntObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P, VV> MutableBag<VV>
SynchronizedLongObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, VV, R extends Collection<VV>>
RSynchronizedLongObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P, VV> MutableBag<VV>
SynchronizedShortObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, VV, R extends Collection<VV>>
RSynchronizedShortObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P, VV> MutableBag<VV>
UnmodifiableByteObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, VV, R extends Collection<VV>>
RUnmodifiableByteObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P, VV> MutableBag<VV>
UnmodifiableCharObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, VV, R extends Collection<VV>>
RUnmodifiableCharObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P, VV> MutableBag<VV>
UnmodifiableDoubleObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, VV, R extends Collection<VV>>
RUnmodifiableDoubleObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P, VV> MutableBag<VV>
UnmodifiableFloatObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, VV, R extends Collection<VV>>
RUnmodifiableFloatObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P, VV> MutableBag<VV>
UnmodifiableIntObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, VV, R extends Collection<VV>>
RUnmodifiableIntObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P, VV> MutableBag<VV>
UnmodifiableLongObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, VV, R extends Collection<VV>>
RUnmodifiableLongObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P, VV> MutableBag<VV>
UnmodifiableShortObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, VV, R extends Collection<VV>>
RUnmodifiableShortObjectMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<IV> IV
ByteObjectHashMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
CharObjectHashMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
DoubleObjectHashMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
FloatObjectHashMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
IntObjectHashMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
LongObjectHashMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
ShortObjectHashMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
SynchronizedByteObjectMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
SynchronizedCharObjectMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
SynchronizedDoubleObjectMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
SynchronizedFloatObjectMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
SynchronizedIntObjectMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
SynchronizedLongObjectMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
SynchronizedShortObjectMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
UnmodifiableByteObjectMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
UnmodifiableCharObjectMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
UnmodifiableDoubleObjectMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
UnmodifiableFloatObjectMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
UnmodifiableIntObjectMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
UnmodifiableLongObjectMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
UnmodifiableShortObjectMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<P> V
ByteObjectHashMap. updateValueWith(byte key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
<P> V
CharObjectHashMap. updateValueWith(char key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
<P> V
DoubleObjectHashMap. updateValueWith(double key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
<P> V
FloatObjectHashMap. updateValueWith(float key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
<P> V
IntObjectHashMap. updateValueWith(int key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
<P> V
LongObjectHashMap. updateValueWith(long key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
<P> V
ShortObjectHashMap. updateValueWith(short key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
<P> V
SynchronizedByteObjectMap. updateValueWith(byte key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
<P> V
SynchronizedCharObjectMap. updateValueWith(char key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
<P> V
SynchronizedDoubleObjectMap. updateValueWith(double key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
<P> V
SynchronizedFloatObjectMap. updateValueWith(float key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
<P> V
SynchronizedIntObjectMap. updateValueWith(int key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
<P> V
SynchronizedLongObjectMap. updateValueWith(long key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
<P> V
SynchronizedShortObjectMap. updateValueWith(short key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
<P> V
UnmodifiableByteObjectMap. updateValueWith(byte key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
<P> V
UnmodifiableCharObjectMap. updateValueWith(char key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
<P> V
UnmodifiableDoubleObjectMap. updateValueWith(double key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
<P> V
UnmodifiableFloatObjectMap. updateValueWith(float key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
<P> V
UnmodifiableIntObjectMap. updateValueWith(int key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
<P> V
UnmodifiableLongObjectMap. updateValueWith(long key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
<P> V
UnmodifiableShortObjectMap. updateValueWith(short key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.impl.map.ordered.mutable
Methods in org.eclipse.collections.impl.map.ordered.mutable with parameters of type Function2 Modifier and Type Method Description <K2, V2> MutableMap<K2,V2>
OrderedMapAdapter. aggregateBy(Function<? super V,? extends K2> groupBy, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V,? extends V2> nonMutatingAggregator)
<K1, V1, V2> MutableMap<K1,V2>
UnmodifiableMutableOrderedMap. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
<KK, VV> MutableMap<KK,VV>
UnmodifiableMutableOrderedMap. aggregateBy(Function<? super V,? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K2, V2> MutableOrderedMap<K2,V2>
OrderedMapAdapter. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> MutableOrderedMap<K2,V2>
UnmodifiableMutableOrderedMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<R> MutableOrderedMap<K,R>
OrderedMapAdapter. collectValues(Function2<? super K,? super V,? extends R> function)
<R> MutableOrderedMap<K,R>
UnmodifiableMutableOrderedMap. collectValues(Function2<? super K,? super V,? extends R> function)
<P, VV> MutableList<VV>
OrderedMapAdapter. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, VV> MutableList<VV>
UnmodifiableMutableOrderedMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, VV, R extends Collection<VV>>
RUnmodifiableMutableOrderedMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<V1, P> MutableBag<V1>
OrderedMapAdapter. countByWith(Function2<? super V,? super P,? extends V1> function, P parameter)
<VV, P> MutableBag<VV>
UnmodifiableMutableOrderedMap. countByWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<VV, P, R extends MutableBagIterable<VV>>
RUnmodifiableMutableOrderedMap. countByWith(Function2<? super V,? super P,? extends VV> function, P parameter, R target)
<P, VV> MutableList<VV>
UnmodifiableMutableOrderedMap. flatCollectWith(Function2<? super V,? super P,? extends Iterable<VV>> function, P parameter)
<P, VV, R extends Collection<VV>>
RUnmodifiableMutableOrderedMap. flatCollectWith(Function2<? super V,? super P,? extends Iterable<VV>> function, P parameter, R target)
<IV> IV
UnmodifiableMutableOrderedMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<P> V
OrderedMapAdapter. updateValueWith(K key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
<P> V
UnmodifiableMutableOrderedMap. updateValueWith(K key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.impl.map.sorted.immutable
Methods in org.eclipse.collections.impl.map.sorted.immutable with parameters of type Function2 Modifier and Type Method Description <K1, V1, V2> ImmutableMap<K1,V2>
AbstractImmutableSortedMap. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
<K2, V2> ImmutableMap<K2,V2>
AbstractImmutableSortedMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<R> ImmutableSortedMap<K,R>
AbstractImmutableSortedMap. collectValues(Function2<? super K,? super V,? extends R> function)
<P, VV> ImmutableList<VV>
AbstractImmutableSortedMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<V1, P> ImmutableBag<V1>
AbstractImmutableSortedMap. countByWith(Function2<? super V,? super P,? extends V1> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.impl.map.sorted.mutable
Methods in org.eclipse.collections.impl.map.sorted.mutable with parameters of type Function2 Modifier and Type Method Description <K2, V2> MutableMap<K2,V2>
UnmodifiableTreeMap. aggregateBy(Function<? super V,? extends K2> groupBy, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V,? extends V2> nonMutatingAggregator)
<K2, V2> MutableMap<K2,V2>
SynchronizedSortedMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> MutableMap<K2,V2>
UnmodifiableTreeMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<R> MutableSortedMap<K,R>
AbstractMutableSortedMap. collectValues(Function2<? super K,? super V,? extends R> function)
<R> MutableSortedMap<K,R>
SynchronizedSortedMap. collectValues(Function2<? super K,? super V,? extends R> function)
<R> MutableSortedMap<K,R>
UnmodifiableTreeMap. collectValues(Function2<? super K,? super V,? extends R> function)
<P, VV> MutableList<VV>
AbstractMutableSortedMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, VV> MutableList<VV>
SynchronizedSortedMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P, R, C extends Collection<R>>
CUnmodifiableTreeMap. collectWith(Function2<? super V,? super P,? extends R> function, P parameter, C targetCollection)
<P, VV> MutableList<VV>
UnmodifiableTreeMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<IV> IV
UnmodifiableTreeMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<P> V
UnmodifiableTreeMap. updateValueWith(K key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.impl.map.strategy.immutable
Methods in org.eclipse.collections.impl.map.strategy.immutable with parameters of type Function2 Modifier and Type Method Description <R> ImmutableMap<K,R>
ImmutableUnifiedMapWithHashingStrategy. collectValues(Function2<? super K,? super V,? extends R> function)
-
Uses of Function2 in org.eclipse.collections.impl.map.strategy.mutable
Methods in org.eclipse.collections.impl.map.strategy.mutable with parameters of type Function2 Modifier and Type Method Description <R> MutableMap<K,R>
UnifiedMapWithHashingStrategy. collectValues(Function2<? super K,? super V,? extends R> function)
<P> V
UnifiedMapWithHashingStrategy. updateValueWith(K key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.impl.multimap
Methods in org.eclipse.collections.impl.multimap with parameters of type Function2 Modifier and Type Method Description <K2, V2, R extends MutableMultimap<K2, V2>>
RAbstractMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function, R target)
<K2, V2, R extends MutableMultimap<K2, V2>>
RAbstractSynchronizedMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function, R target)
-
Uses of Function2 in org.eclipse.collections.impl.multimap.bag
Methods in org.eclipse.collections.impl.multimap.bag with parameters of type Function2 Modifier and Type Method Description <K2, V2> HashBagMultimap<K2,V2>
AbstractMutableBagMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> ImmutableBagMultimap<K2,V2>
ImmutableBagMultimapImpl. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> MutableBagMultimap<K2,V2>
SynchronizedBagMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> HashBagMultimap<K2,V2>
SynchronizedPutHashBagMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> HashBagMultimap<K2,V2>
TreeBagMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
Deprecated. -
Uses of Function2 in org.eclipse.collections.impl.multimap.bag.sorted
Methods in org.eclipse.collections.impl.multimap.bag.sorted with parameters of type Function2 Modifier and Type Method Description <K2, V2> HashBagMultimap<K2,V2>
TreeBagMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
Deprecated. -
Uses of Function2 in org.eclipse.collections.impl.multimap.bag.sorted.immutable
Methods in org.eclipse.collections.impl.multimap.bag.sorted.immutable with parameters of type Function2 Modifier and Type Method Description <K2, V2> ImmutableBagMultimap<K2,V2>
ImmutableSortedBagMultimapImpl. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
-
Uses of Function2 in org.eclipse.collections.impl.multimap.bag.sorted.mutable
Methods in org.eclipse.collections.impl.multimap.bag.sorted.mutable with parameters of type Function2 Modifier and Type Method Description <K2, V2> MutableBagMultimap<K2,V2>
SynchronizedSortedBagMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> HashBagMultimap<K2,V2>
TreeBagMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
-
Uses of Function2 in org.eclipse.collections.impl.multimap.list
Methods in org.eclipse.collections.impl.multimap.list with parameters of type Function2 Modifier and Type Method Description <K2, V2> HashBagMultimap<K2,V2>
AbstractMutableListMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> ImmutableBagMultimap<K2,V2>
ImmutableListMultimapImpl. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> MutableBagMultimap<K2,V2>
SynchronizedListMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> HashBagMultimap<K2,V2>
SynchronizedPutFastListMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
-
Uses of Function2 in org.eclipse.collections.impl.multimap.set
Methods in org.eclipse.collections.impl.multimap.set with parameters of type Function2 Modifier and Type Method Description <K2, V2> MutableBagMultimap<K2,V2>
AbstractMutableSetMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> ImmutableBagMultimap<K2,V2>
ImmutableSetMultimapImpl. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> MutableBagMultimap<K2,V2>
SynchronizedPutUnifiedSetMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> MutableBagMultimap<K2,V2>
SynchronizedSetMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
-
Uses of Function2 in org.eclipse.collections.impl.multimap.set.sorted
Methods in org.eclipse.collections.impl.multimap.set.sorted with parameters of type Function2 Modifier and Type Method Description <K2, V2> ImmutableBagMultimap<K2,V2>
ImmutableSortedSetMultimapImpl. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> HashBagMultimap<K2,V2>
SynchronizedPutTreeSortedSetMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> MutableBagMultimap<K2,V2>
SynchronizedSortedSetMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2, V2> HashBagMultimap<K2,V2>
TreeSortedSetMultimap. collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
-
Uses of Function2 in org.eclipse.collections.impl.parallel
Methods in org.eclipse.collections.impl.parallel with parameters of type Function2 Modifier and Type Method Description static <T, K, V> MutableMap<K,V>
ParallelIterate. aggregateBy(Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
static <T, K, V> MutableMap<K,V>
ParallelIterate. aggregateBy(Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, int batchSize)
static <T, K, V> MutableMap<K,V>
ParallelIterate. aggregateBy(Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, int batchSize, Executor executor)
static <T, K, V, R extends MutableMapIterable<K, V>>
RParallelIterate. aggregateBy(Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, R mutableMap)
static <T, K, V, R extends MutableMapIterable<K, V>>
RParallelIterate. aggregateBy(Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, R mutableMap, int batchSize)
static <T, K, V, R extends MutableMapIterable<K, V>>
RParallelIterate. aggregateBy(Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, R mutableMap, int batchSize, Executor executor)
-
Uses of Function2 in org.eclipse.collections.impl.set
Methods in org.eclipse.collections.impl.set with parameters of type Function2 Modifier and Type Method Description <P, A> UnifiedSet<A>
AbstractUnifiedSet. collectWith(Function2<? super T,? super P,? extends A> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.impl.set.immutable
Methods in org.eclipse.collections.impl.set.immutable with parameters of type Function2 Modifier and Type Method Description <P, V> ImmutableSet<V>
AbstractImmutableSet. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.impl.set.mutable
Methods in org.eclipse.collections.impl.set.mutable with parameters of type Function2 Modifier and Type Method Description <P, V> MutableSet<V>
AbstractMutableSet. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> MutableSet<V>
MultiReaderUnifiedSet. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> MutableSet<V>
SetAdapter. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> MutableSet<V>
SynchronizedMutableSet. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, A> MutableSet<A>
UnmodifiableMutableSet. collectWith(Function2<? super T,? super P,? extends A> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.impl.set.sorted.mutable
Methods in org.eclipse.collections.impl.set.sorted.mutable with parameters of type Function2 Modifier and Type Method Description <P, V> MutableList<V>
SortedSetAdapter. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> MutableList<V>
SynchronizedSortedSet. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V> MutableList<V>
TreeSortedSet. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, A> MutableList<A>
UnmodifiableSortedSet. collectWith(Function2<? super T,? super P,? extends A> function, P parameter)
-
Uses of Function2 in org.eclipse.collections.impl.stack.mutable
Methods in org.eclipse.collections.impl.stack.mutable with parameters of type Function2 Modifier and Type Method Description <K, V> MutableMap<K,V>
SynchronizedStack. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
<K, V> MutableMap<K,V>
UnmodifiableStack. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
<P, V> ArrayStack<V>
ArrayStack. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V, R extends Collection<V>>
RArrayStack. collectWith(Function2<? super T,? super P,? extends V> function, P parameter, R targetCollection)
<P, V> MutableStack<V>
SynchronizedStack. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V, R extends Collection<V>>
RSynchronizedStack. collectWith(Function2<? super T,? super P,? extends V> function, P parameter, R targetCollection)
<P, V> MutableStack<V>
UnmodifiableStack. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P, V, R extends Collection<V>>
RUnmodifiableStack. collectWith(Function2<? super T,? super P,? extends V> function, P parameter, R targetCollection)
<IV> IV
ArrayStack. injectInto(IV injectedValue, Function2<? super IV,? super T,? extends IV> function)
<IV> IV
SynchronizedStack. injectInto(IV injectedValue, Function2<? super IV,? super T,? extends IV> function)
<IV> IV
UnmodifiableStack. injectInto(IV injectedValue, Function2<? super IV,? super T,? extends IV> function)
-
Uses of Function2 in org.eclipse.collections.impl.utility
Methods in org.eclipse.collections.impl.utility with parameters of type Function2 Modifier and Type Method Description static <T, K, V> MutableMap<K,V>
ArrayListIterate. aggregateBy(ArrayList<T> list, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
static <T, K, V> MutableMap<K,V>
Iterate. aggregateBy(Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
static <A, B, C> LazyIterable<C>
LazyIterate. cartesianProduct(Iterable<A> iterable1, Iterable<B> iterable2, Function2<? super A,? super B,? extends C> function)
Create a deferred cartesian product of the two specified iterables.static <K, V, K2, V2>
MutableMap<K2,V2>MapIterate. collect(Map<K,V> map, Function2<? super K,? super V,Pair<K2,V2>> function)
For each value of the map, the function is evaluated with the key and value as the parameter.static <K1, V1, K2, V2, R extends Map<K2, V2>>
RMapIterate. collect(Map<K1,V1> map, Function2<? super K1,? super V1,Pair<K2,V2>> function, R target)
For each value of the map, the function is evaluated with the key and value as the parameter.static <K1, V1, K2, V2>
MutableMap<K2,V2>MapIterate. collectIf(Map<K1,V1> map, Function2<? super K1,? super V1,Pair<K2,V2>> function, Predicate2<? super K1,? super V1> predicate)
For each value of the map, the Predicate2 is evaluated with the key and value as the parameter, and if true, thenfunction
is applied.static <K1, V1, K2, V2>
MutableMap<K2,V2>MapIterate. collectIf(Map<K1,V1> map, Function2<? super K1,? super V1,Pair<K2,V2>> function, Predicate2<? super K1,? super V1> predicate, Map<K2,V2> target)
For each value of the map, the Predicate2 is evaluated with the key and value as the parameter, and if true, thenfunction
is applied.static <K, V, V2> MutableMap<K,V2>
MapIterate. collectValues(Map<K,V> map, Function2<? super K,? super V,? extends V2> function)
For each key and value of the map, the function is evaluated with the key and value as the parameter.static <K, V, V2, R extends Map<K, V2>>
RMapIterate. collectValues(Map<K,V> map, Function2<? super K,? super V,? extends V2> function, R target)
For each key and value of the map, the function is evaluated with the key and value as the parameter.static <T, P, V> MutableList<V>
ArrayIterate. collectWith(T[] objectArray, Function2<? super T,? super P,? extends V> function, P parameter)
static <T, P, V, R extends Collection<V>>
RArrayIterate. collectWith(T[] objectArray, Function2<? super T,? super P,? extends V> function, P parameter, R targetCollection)
static <T, P, A> ArrayList<A>
ArrayListIterate. collectWith(ArrayList<T> list, Function2<? super T,? super P,? extends A> function, P parameter)
static <T, P, A, R extends Collection<A>>
RArrayListIterate. collectWith(ArrayList<T> list, Function2<? super T,? super P,? extends A> function, P parameter, R targetCollection)
static <T, P, A> Collection<A>
Iterate. collectWith(Iterable<T> iterable, Function2<? super T,? super P,? extends A> function, P parameter)
Same as collect with a Function2 and specified parameter which is passed to the function.static <T, P, A, R extends Collection<A>>
RIterate. collectWith(Iterable<T> iterable, Function2<? super T,? super P,? extends A> function, P parameter, R targetCollection)
Same as collectWith but with a targetCollection parameter to gather the results.static <T, P, A> MutableList<A>
ListIterate. collectWith(List<T> list, Function2<? super T,? super P,? extends A> function, P parameter)
static <T, P, A, R extends Collection<A>>
RListIterate. collectWith(List<T> list, Function2<? super T,? super P,? extends A> function, P parameter, R targetCollection)
static <T, IV> IV
ArrayIterate. injectInto(IV injectValue, T[] objectArray, Function2<? super IV,? super T,? extends IV> function)
static <T, IV> IV
ArrayListIterate. injectInto(IV injectValue, ArrayList<T> list, Function2<? super IV,? super T,? extends IV> function)
static <T, IV> IV
Iterate. injectInto(IV injectValue, Iterable<T> iterable, Function2<? super IV,? super T,? extends IV> function)
static <T, IV> IV
ListIterate. injectInto(IV injectValue, List<T> list, Function2<? super IV,? super T,? extends IV> function)
static <K, V, IV> IV
MapIterate. injectInto(IV injectValue, Map<K,V> map, Function2<? super IV,? super V,? extends IV> function)
static <IV, K, V> IV
MapIterate. injectIntoIf(IV initialValue, Map<K,V> map, Predicate<? super V> predicate, Function2<? super IV,? super V,? extends IV> function)
Same asMapIterate.injectInto(Object, Map, Function2)
, but only applies the value to the function if the predicate returns true for the value.static <T, R> R
StringIterate. injectIntoTokens(String string, String separator, R injectedValue, Function2<? super R,String,? extends R> function)
For each token in a string separated by the specified separator, execute the specified Function2, returning the result value from the function. -
Uses of Function2 in org.eclipse.collections.impl.utility.internal
Methods in org.eclipse.collections.impl.utility.internal with parameters of type Function2 Modifier and Type Method Description static <T, K, V> MutableMap<K,V>
IterableIterate. aggregateBy(Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
static <T, K, V> MutableMap<K,V>
IteratorIterate. aggregateBy(Iterator<T> iterator, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
static <T, K, V> MutableMap<K,V>
RandomAccessListIterate. aggregateBy(List<T> list, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
static <A, B, C> LazyIterable<C>
SetIterables. cartesianProduct(SetIterable<A> set1, SetIterable<B> set2, Function2<A,B,C> function)
static <T, P, V, R extends Collection<V>>
RInternalArrayIterate. collectWith(T[] array, int size, Function2<? super T,? super P,? extends V> function, P parameter, R target)
static <T, P, A, R extends Collection<A>>
RIterableIterate. collectWith(Iterable<T> iterable, Function2<? super T,? super P,? extends A> function, P parameter, R targetCollection)
static <T, P, V> MutableList<V>
IterableIterate. collectWith(Iterable<T> iterable, Function2<? super T,? super P,? extends V> function, P parameter)
static <T, P, A, R extends Collection<A>>
RIteratorIterate. collectWith(Iterator<T> iterator, Function2<? super T,? super P,? extends A> function, P parameter, R targetCollection)
static <T, P, A, R extends Collection<A>>
RRandomAccessListIterate. collectWith(List<T> list, Function2<? super T,? super P,? extends A> function, P parameter, R targetCollection)
static <T, IV> IV
IterableIterate. injectInto(IV injectValue, Iterable<T> iterable, Function2<? super IV,? super T,? extends IV> function)
static <T, IV> IV
IteratorIterate. injectInto(IV injectValue, Iterator<T> iterator, Function2<? super IV,? super T,? extends IV> function)
static <T, IV> IV
RandomAccessListIterate. injectInto(IV injectValue, List<T> list, Function2<? super IV,? super T,? extends IV> function)