Uses of Interface
org.eclipse.collections.api.block.function.Function2
-
Packages that use 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 ofList
.org.eclipse.collections.api.map This package contains interfaces for map API which enhance the performance and functionality ofMap
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 forMultimap
.org.eclipse.collections.api.multimap.bag This package contains interfaces forBagMultimap
.org.eclipse.collections.api.multimap.list This package contains interfaces forListMultimap
.org.eclipse.collections.api.multimap.ordered org.eclipse.collections.api.multimap.set This package contains interfaces forSetMultimap
.org.eclipse.collections.api.multimap.sortedbag This package contains interfaces forSortedBagMultimap
.org.eclipse.collections.api.multimap.sortedset This package contains interfaces forSortedSetMultimap
.org.eclipse.collections.api.ordered org.eclipse.collections.api.set This package contains interfaces for set API which enhance the performance and functionality ofSet
.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 theImmutableBag
interface.org.eclipse.collections.impl.bag.mutable This package contains implementations of theMutableBag
interface.org.eclipse.collections.impl.bag.sorted.immutable org.eclipse.collections.impl.bag.sorted.mutable This package contains implementations ofMutableSortedBag
.org.eclipse.collections.impl.bimap org.eclipse.collections.impl.bimap.immutable org.eclipse.collections.impl.bimap.mutable This package contains implementations of theMutableBiMap
interface.org.eclipse.collections.impl.block.factory This package contains factory implementations forFunction
,Predicate
,SerializableComparator
andProcedure
.org.eclipse.collections.impl.block.function org.eclipse.collections.impl.block.function.checked org.eclipse.collections.impl.block.procedure This package contains implementations ofProcedure
andProcedure2
.org.eclipse.collections.impl.collection org.eclipse.collections.impl.collection.immutable This package contains implementations of theImmutableCollection
interface.org.eclipse.collections.impl.collection.mutable This package contains implementations of theMutableCollection
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 theLazyIterable
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 theListIterable
interface.org.eclipse.collections.impl.list.fixed This package contains implementations of theFixedSizeList
interface.org.eclipse.collections.impl.list.immutable This package contains implementations of theImmutableList
interface.org.eclipse.collections.impl.list.mutable This package contains implementations of theMutableList
interface.org.eclipse.collections.impl.map This package contains implementations of theMapIterable
interface.org.eclipse.collections.impl.map.fixed This package contains implementations of theFixedSizeMap
interface.org.eclipse.collections.impl.map.immutable This package contains implementations of theImmutableMap
interface.org.eclipse.collections.impl.map.immutable.primitive This package contains implementations of the immutable primitive-primitive, primitive-object and object-primitive map interfaces.org.eclipse.collections.impl.map.mutable This package contains implementations of theMutableMap
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 theMutableSortedMap
interface.org.eclipse.collections.impl.map.sorted.mutable This package contains implementations of theMutableSortedMap
interface.org.eclipse.collections.impl.map.strategy.immutable This package contains immutable map implementations backed by hashtables that rely onHashingStrategy
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 onHashingStrategy
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 theMultimap
interface.org.eclipse.collections.impl.multimap.bag This package contains implementations of theBagMultimap
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 theListMultimap
interface.org.eclipse.collections.impl.multimap.set This package contains implementations of theSetMultimap
interface.org.eclipse.collections.impl.multimap.set.sorted This package contains implementations of theSortedSetMultimap
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 contains the implementations ofImmutableSet
.org.eclipse.collections.impl.set.mutable This package contains implementations ofMutableSet
.org.eclipse.collections.impl.set.sorted.immutable This package contains implementations ofImmutableSortedSet
.org.eclipse.collections.impl.set.sorted.mutable This package contains implementations ofMutableSortedSet
.org.eclipse.collections.impl.stack.immutable This package contains implementations of theImmutableStack
interface.org.eclipse.collections.impl.stack.mutable This package contains implementations of theMutableStack
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 java.util.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 java.lang.Iterable<V>> function, P parameter)
default <P,V>
RichIterable<V>RichIterable. flatCollectWith(Function2<? super T,? super P,? extends java.lang.Iterable<V>> function, P parameter)
default <P,V,R extends java.util.Collection<V>>
RRichIterable. flatCollectWith(Function2<? super T,? super P,? extends java.lang.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 java.lang.Iterable<V>> function, P parameter)
default <P,V>
MutableBag<V>MutableBag. flatCollectWith(Function2<? super T,? super P,? extends java.lang.Iterable<V>> function, P parameter)
default <P,V>
UnsortedBag<V>UnsortedBag. flatCollectWith(Function2<? super T,? super P,? extends java.lang.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 java.lang.Iterable<V>> function, P parameter)
default <P,V>
MutableList<V>MutableSortedBag. flatCollectWith(Function2<? super T,? super P,? extends java.lang.Iterable<V>> function, P parameter)
default <P,V>
ListIterable<V>SortedBag. flatCollectWith(Function2<? super T,? super P,? extends java.lang.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 default <K1,V1,V2>
ImmutableMap<K1,V2>ImmutableBiMap. 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>ImmutableBiMap. 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>MutableBiMap. 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>MutableBiMap. aggregateBy(Function<? super V,? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<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 java.lang.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 java.lang.Iterable<V>> function, P parameter)
default <P,V>
MutableCollection<V>MutableCollection. flatCollectWith(Function2<? super T,? super P,? extends java.lang.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 java.lang.Iterable<V>> function, P parameter)
default <P,V>
ListIterable<V>ListIterable. flatCollectWith(Function2<? super T,? super P,? extends java.lang.Iterable<V>> function, P parameter)
default <P,V>
MutableList<V>MutableList. flatCollectWith(Function2<? super T,? super P,? extends java.lang.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>
MutableMapIterable<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>
MutableMapIterable<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 java.lang.Iterable<R>> function, P parameter)
default <P,V1>
ImmutableList<V1>ImmutableOrderedMap. flatCollectWith(Function2<? super V,? super P,? extends java.lang.Iterable<V1>> function, P parameter)
default <P,R>
MutableBag<R>MutableMap. flatCollectWith(Function2<? super V,? super P,? extends java.lang.Iterable<R>> function, P parameter)
default <P,V1>
MutableList<V1>MutableOrderedMap. flatCollectWith(Function2<? super V,? super P,? extends java.lang.Iterable<V1>> function, P parameter)
default <P,V1>
ListIterable<V1>OrderedMap. flatCollectWith(Function2<? super V,? super P,? extends java.lang.Iterable<V1>> function, P parameter)
default <P,V1>
Bag<V1>UnsortedMapIterable. flatCollectWith(Function2<? super V,? super P,? extends java.lang.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 java.lang.Iterable<VV>> function, P parameter)
default <P,VV>
MutableBag<VV>MutablePrimitiveObjectMap. flatCollectWith(Function2<? super V,? super P,? extends java.lang.Iterable<VV>> function, P parameter)
default <P,VV>
Bag<VV>PrimitiveObjectMap. flatCollectWith(Function2<? super V,? super P,? extends java.lang.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 java.lang.Iterable<R>> function, P parameter)
default <P,R>
MutableList<R>MutableSortedMap. flatCollectWith(Function2<? super V,? super P,? extends java.lang.Iterable<R>> function, P parameter)
default <P,V1>
ListIterable<V1>SortedMapIterable. flatCollectWith(Function2<? super V,? super P,? extends java.lang.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 java.lang.Iterable<V>> function, P parameter)
default <P,V>
ReversibleIterable<V>ReversibleIterable. flatCollectWith(Function2<? super T,? super P,? extends java.lang.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 java.lang.Iterable<V>> function, P parameter)
default <P,V>
MutableSet<V>MutableSet. flatCollectWith(Function2<? super T,? super P,? extends java.lang.Iterable<V>> function, P parameter)
default <P,V>
UnsortedSetIterable<V>UnsortedSetIterable. flatCollectWith(Function2<? super T,? super P,? extends java.lang.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 java.lang.Iterable<V>> function, P parameter)
default <P,V>
MutableList<V>MutableSortedSet. flatCollectWith(Function2<? super T,? super P,? extends java.lang.Iterable<V>> function, P parameter)
default <P,V>
ListIterable<V>SortedSetIterable. flatCollectWith(Function2<? super T,? super P,? extends java.lang.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 java.lang.Iterable<V>> function, P parameter)
default <P,V>
MutableStack<V>MutableStack. flatCollectWith(Function2<? super T,? super P,? extends java.lang.Iterable<V>> function, P parameter)
default <P,V>
StackIterable<V>StackIterable. flatCollectWith(Function2<? super T,? super P,? extends java.lang.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 java.util.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 java.util.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 java.util.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)
<P,V>
ImmutableBag<V>ImmutableEmptyBag. 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)
<V,P>
ImmutableBag<V>ImmutableEmptyBag. countByWith(Function2<? super T,? super P,? extends V> function, P parameter)
<V,P,R extends MutableBagIterable<V>>
RImmutableEmptyBag. countByWith(Function2<? super T,? super P,? extends V> function, P parameter, R target)
<IV> IV
ImmutableEmptyBag. injectInto(IV injectedValue, Function2<? super IV,? super T,? extends IV> function)
<IV> IV
ImmutableHashBag. injectInto(IV injectedValue, Function2<? super IV,? super T,? extends IV> function)
<IV> IV
ImmutableSingletonBag. 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>MultiReaderHashBag.UntouchableMutableBag. 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.immutable
Methods in org.eclipse.collections.impl.bag.sorted.immutable with parameters of type Function2 Modifier and Type Method Description <P,V>
ImmutableList<V>AbstractImmutableSortedBag. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<V,P>
ImmutableBag<V>AbstractImmutableSortedBag. countByWith(Function2<? super T,? super P,? extends V> function, P parameter)
<V,P>
ImmutableBag<V>ImmutableEmptySortedBag. countByWith(Function2<? super T,? super P,? extends V> function, P parameter)
<V,P,R extends MutableBagIterable<V>>
RImmutableEmptySortedBag. countByWith(Function2<? super T,? super P,? extends V> function, P parameter, R target)
-
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 java.util.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>SynchronizedBiMap. 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>SynchronizedBiMap. aggregateBy(Function<? super V,? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K2,V2>
HashBiMap<K2,V2>AbstractMutableBiMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<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> HashBiMap<K,R>
AbstractMutableBiMap. collectValues(Function2<? super K,? super V,? extends R> 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,VV>
MutableBag<VV>AbstractMutableBiMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P,V1>
RichIterable<V1>UnmodifiableBiMap. collectWith(Function2<? super V,? super P,? extends V1> function, P parameter)
<P,VV,R extends java.util.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
AbstractMutableBiMap. updateValueWith(K key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
<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
Classes in org.eclipse.collections.impl.block.factory that implement Function2 Modifier and Type Class Description private static class
Functions2.FunctionAdapter<T,P,V>
private static class
Functions2.IntegerAddition
private static class
Functions2.MaxByFunction2<T,V extends java.lang.Comparable<? super V>>
private static class
Functions2.MaxFunction2<T>
private static class
Functions2.MinByFunction2<T,V extends java.lang.Comparable<? super V>>
private static class
Functions2.MinFunction2<T>
private static class
Functions2.ThrowingFunction2Adapter<T,P,V>
Fields in org.eclipse.collections.impl.block.factory declared as Function2 Modifier and Type Field Description private Function2<? super T1,? super T2,? extends T3>
Functions.BindFunction2. delegate
private static Function2<java.lang.Integer,java.lang.Integer,java.lang.Integer>
Functions2. INTEGER_ADDITION
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<java.lang.Integer,java.lang.Integer,java.lang.Integer>
Functions2. integerAddition()
static <T> Function2<T,T,T>
Functions2. max(java.util.Comparator<? super T> comparator)
static <T,V extends java.lang.Comparable<? super V>>
Function2<T,T,T>Functions2. maxBy(Function<? super T,? extends V> function)
static <T> Function2<T,T,T>
Functions2. min(java.util.Comparator<? super T> comparator)
static <T,V extends java.lang.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 java.lang.Throwable,? extends java.lang.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 java.lang.Throwable,? extends java.lang.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 java.lang.Throwable,? extends java.lang.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 java.lang.Throwable,? extends java.lang.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.Constructors in org.eclipse.collections.impl.block.factory with parameters of type Function2 Constructor Description BindFunction2(Function2<? super T1,? super T2,? extends T3> delegate, T2 parameter)
-
Uses of Function2 in org.eclipse.collections.impl.block.function
Fields in org.eclipse.collections.impl.block.function declared as Function2 Modifier and Type Field Description static Function2<java.util.Collection<?>,?,java.util.Collection<?>>
AddFunction. COLLECTION
static Function2<java.lang.Integer,java.util.Collection<?>,java.lang.Integer>
MaxSizeFunction. COLLECTION
static Function2<java.lang.Integer,java.util.Collection<?>,java.lang.Integer>
MinSizeFunction. COLLECTION
static Function2<java.lang.Double,java.lang.Double,java.lang.Double>
AddFunction. DOUBLE
static Function2<java.lang.Double,java.lang.Double,java.lang.Double>
MaxFunction. DOUBLE
static Function2<java.lang.Double,java.lang.Double,java.lang.Double>
MinFunction. DOUBLE
static Function2<java.lang.Double,java.lang.Double,java.lang.Double>
MultiplyFunction. DOUBLE
static Function2<java.lang.Double,java.lang.Double,java.lang.Double>
SubtractFunction. DOUBLE
static Function2<java.lang.Float,java.lang.Float,java.lang.Float>
AddFunction. FLOAT
static Function2<java.lang.Integer,java.lang.Integer,java.lang.Integer>
AddFunction. INTEGER
static Function2<java.lang.Integer,java.lang.Integer,java.lang.Integer>
MaxFunction. INTEGER
static Function2<java.lang.Integer,java.lang.Integer,java.lang.Integer>
MinFunction. INTEGER
static Function2<java.lang.Integer,java.lang.Integer,java.lang.Integer>
MultiplyFunction. INTEGER
static Function2<java.lang.Integer,java.lang.Integer,java.lang.Integer>
SubtractFunction. INTEGER
static Function2<java.lang.Long,java.lang.Long,java.lang.Long>
AddFunction. LONG
static Function2<java.lang.Long,java.lang.Long,java.lang.Long>
MaxFunction. LONG
static Function2<java.lang.Long,java.lang.Long,java.lang.Long>
MinFunction. LONG
static Function2<java.lang.Long,java.lang.Long,java.lang.Long>
MultiplyFunction. LONG
static Function2<java.lang.Long,java.lang.Long,java.lang.Long>
SubtractFunction. LONG
static Function2<java.lang.Integer,java.util.Map<?,?>,java.lang.Integer>
MaxSizeFunction. MAP
static Function2<java.lang.Integer,java.util.Map<?,?>,java.lang.Integer>
MinSizeFunction. MAP
static Function2<java.lang.String,java.lang.String,java.lang.String>
AddFunction. STRING
static Function2<java.lang.Integer,java.lang.String,java.lang.Integer>
MaxSizeFunction. STRING
static Function2<java.lang.Integer,java.lang.String,java.lang.Integer>
MinSizeFunction. STRING
-
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
Fields in org.eclipse.collections.impl.block.procedure declared as Function2 Modifier and Type Field Description private Function2<? super IV,? super T,? extends IV>
InjectIntoProcedure. function
private Function2<? super V,? super T,? extends V>
NonMutatingAggregationProcedure. nonMutatingAggregator
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 java.util.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 java.util.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 java.util.Collection<V>>
RAbstractMultiReaderMutableCollection. collectWith(Function2<? super T,? super P,? extends V> function, P parameter, R targetCollection)
<P,V,R extends java.util.Collection<V>>
RAbstractMultiReaderMutableCollection.UntouchableMutableCollection. 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 java.util.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
AbstractMultiReaderMutableCollection.UntouchableMutableCollection. 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>>
java.util.stream.Collector<T,?,R>Collectors2. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends T> zeroValueFactory, Function2<? super T,? super T,? extends T> aggregator, java.util.function.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 java.util.Collection<V>>
java.util.stream.Collector<T,?,R>Collectors2. collectWith(Function2<? super T,? super P,? extends V> function, P parameter, java.util.function.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(java.util.Set<A> set1, java.util.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(java.lang.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(java.lang.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(java.lang.Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, int batchSize, java.util.concurrent.ForkJoinPool executor)
static <T,K,V,R extends MutableMapIterable<K,V>>
RFJIterate. aggregateBy(java.lang.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(java.lang.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(java.lang.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, java.util.concurrent.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)
private T
AbstractParallelIterable. collectReduce(Function<Batch<T>,T> map, Function2<T,T,T> function2)
private T
AbstractParallelIterable. collectReduceOrdered(Function<Batch<T>,T> map, Function2<T,T,T> function2)
private T
AbstractParallelIterable. collectReduceUnordered(Function<Batch<T>,T> map, Function2<T,T,T> function2)
<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 java.lang.Integer,? extends R> function)
<R> R
Interval. reverseInjectInto(R injectValue, Function2<? super R,java.lang.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 java.util.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.immutable
Methods in org.eclipse.collections.impl.list.immutable with parameters of type Function2 Modifier and Type Method Description <P,V>
ImmutableList<V>AbstractImmutableList. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P,V,R extends java.util.Collection<V>>
RAbstractImmutableList. collectWith(Function2<? super T,? super P,? extends V> function, P parameter, R target)
<P,V>
ImmutableList<V>ImmutableArrayList. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P,V,R extends java.util.Collection<V>>
RImmutableArrayList. collectWith(Function2<? super T,? super P,? extends V> function, P parameter, R target)
<P,V,R extends java.util.Collection<V>>
RImmutableEmptyList. collectWith(Function2<? super T,? super P,? extends V> function, P parameter, R target)
<V,P>
ImmutableBag<V>ImmutableEmptyList. countByWith(Function2<? super T,? super P,? extends V> function, P parameter)
<V,P,R extends MutableBagIterable<V>>
RImmutableEmptyList. countByWith(Function2<? super T,? super P,? extends V> function, P parameter, R target)
<IV> IV
AbstractImmutableList. injectInto(IV injectedValue, Function2<? super IV,? super T,? extends IV> function)
<IV> IV
ImmutableArrayList. injectInto(IV injectedValue, Function2<? super IV,? super T,? extends IV> function)
<IV> IV
ImmutableEmptyList. 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 java.util.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 java.util.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 java.util.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>MultiReaderFastList.UntouchableMutableList. 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>
MutableMapIterable<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>
MutableMapIterable<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.fixed
Methods in org.eclipse.collections.impl.map.fixed with parameters of type Function2 Modifier and Type Method Description abstract <K2,V2>
FixedSizeMap<K2,V2>AbstractMemoryEfficientMutableMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2,V2>
FixedSizeMap<K2,V2>DoubletonMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2,V2>
FixedSizeMap<K2,V2>EmptyMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2,V2>
FixedSizeMap<K2,V2>SingletonMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2,V2>
FixedSizeMap<K2,V2>TripletonMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
abstract <R> FixedSizeMap<K,R>
AbstractMemoryEfficientMutableMap. collectValues(Function2<? super K,? super V,? extends R> function)
<R> FixedSizeMap<K,R>
DoubletonMap. collectValues(Function2<? super K,? super V,? extends R> function)
<R> FixedSizeMap<K,R>
EmptyMap. collectValues(Function2<? super K,? super V,? extends R> function)
<R> FixedSizeMap<K,R>
SingletonMap. collectValues(Function2<? super K,? super V,? extends R> function)
<R> FixedSizeMap<K,R>
TripletonMap. collectValues(Function2<? super K,? super V,? extends R> function)
<P> V
AbstractMemoryEfficientMutableMap. 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)
<K2,V2>
ImmutableMap<K2,V2>ImmutableDoubletonMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2,V2>
ImmutableMap<K2,V2>ImmutableEmptyMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2,V2>
ImmutableMap<K2,V2>ImmutableQuadrupletonMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2,V2>
ImmutableMap<K2,V2>ImmutableSingletonMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<K2,V2>
ImmutableMap<K2,V2>ImmutableTripletonMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<R> ImmutableMap<K,R>
AbstractImmutableMap. collectValues(Function2<? super K,? super V,? extends R> function)
<R> ImmutableMap<K,R>
ImmutableDoubletonMap. collectValues(Function2<? super K,? super V,? extends R> function)
<R> ImmutableMap<K,R>
ImmutableEmptyMap. collectValues(Function2<? super K,? super V,? extends R> function)
<R> ImmutableMap<K,R>
ImmutableQuadrupletonMap. collectValues(Function2<? super K,? super V,? extends R> function)
<R> ImmutableMap<K,R>
ImmutableSingletonMap. collectValues(Function2<? super K,? super V,? extends R> function)
<R> ImmutableMap<K,R>
ImmutableTripletonMap. 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.immutable.primitive
Methods in org.eclipse.collections.impl.map.immutable.primitive with parameters of type Function2 Modifier and Type Method Description <K,VV>
ImmutableMap<K,VV>ImmutableByteObjectHashMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K,VV>
ImmutableMap<K,VV>ImmutableCharObjectHashMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K,VV>
ImmutableMap<K,VV>ImmutableDoubleObjectHashMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K,VV>
ImmutableMap<K,VV>ImmutableFloatObjectHashMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K,VV>
ImmutableMap<K,VV>ImmutableIntObjectHashMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K,VV>
ImmutableMap<K,VV>ImmutableLongObjectHashMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K,VV>
ImmutableMap<K,VV>ImmutableShortObjectHashMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<P,VV>
ImmutableBag<VV>ImmutableByteObjectEmptyMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P,VV,R extends java.util.Collection<VV>>
RImmutableByteObjectEmptyMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P,VV>
ImmutableBag<VV>ImmutableByteObjectHashMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P,VV,R extends java.util.Collection<VV>>
RImmutableByteObjectHashMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P,VV>
ImmutableBag<VV>ImmutableByteObjectSingletonMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P,VV,R extends java.util.Collection<VV>>
RImmutableByteObjectSingletonMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P,VV>
ImmutableBag<VV>ImmutableCharObjectEmptyMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P,VV,R extends java.util.Collection<VV>>
RImmutableCharObjectEmptyMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P,VV>
ImmutableBag<VV>ImmutableCharObjectHashMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P,VV,R extends java.util.Collection<VV>>
RImmutableCharObjectHashMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P,VV>
ImmutableBag<VV>ImmutableCharObjectSingletonMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P,VV,R extends java.util.Collection<VV>>
RImmutableCharObjectSingletonMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P,VV>
ImmutableBag<VV>ImmutableDoubleObjectEmptyMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P,VV,R extends java.util.Collection<VV>>
RImmutableDoubleObjectEmptyMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P,VV>
ImmutableBag<VV>ImmutableDoubleObjectHashMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P,VV,R extends java.util.Collection<VV>>
RImmutableDoubleObjectHashMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P,VV>
ImmutableBag<VV>ImmutableDoubleObjectSingletonMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P,VV,R extends java.util.Collection<VV>>
RImmutableDoubleObjectSingletonMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P,VV>
ImmutableBag<VV>ImmutableFloatObjectEmptyMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P,VV,R extends java.util.Collection<VV>>
RImmutableFloatObjectEmptyMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P,VV>
ImmutableBag<VV>ImmutableFloatObjectHashMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P,VV,R extends java.util.Collection<VV>>
RImmutableFloatObjectHashMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P,VV>
ImmutableBag<VV>ImmutableFloatObjectSingletonMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P,VV,R extends java.util.Collection<VV>>
RImmutableFloatObjectSingletonMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P,VV>
ImmutableBag<VV>ImmutableIntObjectEmptyMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P,VV,R extends java.util.Collection<VV>>
RImmutableIntObjectEmptyMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P,VV>
ImmutableBag<VV>ImmutableIntObjectHashMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P,VV,R extends java.util.Collection<VV>>
RImmutableIntObjectHashMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P,VV>
ImmutableBag<VV>ImmutableIntObjectSingletonMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P,VV,R extends java.util.Collection<VV>>
RImmutableIntObjectSingletonMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P,VV>
ImmutableBag<VV>ImmutableLongObjectEmptyMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P,VV,R extends java.util.Collection<VV>>
RImmutableLongObjectEmptyMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P,VV>
ImmutableBag<VV>ImmutableLongObjectHashMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P,VV,R extends java.util.Collection<VV>>
RImmutableLongObjectHashMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P,VV>
ImmutableBag<VV>ImmutableLongObjectSingletonMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P,VV,R extends java.util.Collection<VV>>
RImmutableLongObjectSingletonMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P,VV>
ImmutableBag<VV>ImmutableShortObjectEmptyMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P,VV,R extends java.util.Collection<VV>>
RImmutableShortObjectEmptyMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P,VV>
ImmutableBag<VV>ImmutableShortObjectHashMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P,VV,R extends java.util.Collection<VV>>
RImmutableShortObjectHashMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<P,VV>
ImmutableBag<VV>ImmutableShortObjectSingletonMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
<P,VV,R extends java.util.Collection<VV>>
RImmutableShortObjectSingletonMap. collectWith(Function2<? super V,? super P,? extends VV> function, P parameter, R targetCollection)
<IV> IV
ImmutableByteObjectEmptyMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
ImmutableByteObjectHashMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
ImmutableByteObjectSingletonMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
ImmutableCharObjectEmptyMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
ImmutableCharObjectHashMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
ImmutableCharObjectSingletonMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
ImmutableDoubleObjectEmptyMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
ImmutableDoubleObjectHashMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
ImmutableDoubleObjectSingletonMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
ImmutableFloatObjectEmptyMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
ImmutableFloatObjectHashMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
ImmutableFloatObjectSingletonMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
ImmutableIntObjectEmptyMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
ImmutableIntObjectHashMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
ImmutableIntObjectSingletonMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
ImmutableLongObjectEmptyMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
ImmutableLongObjectHashMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
ImmutableLongObjectSingletonMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
ImmutableShortObjectEmptyMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
ImmutableShortObjectHashMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
<IV> IV
ImmutableShortObjectSingletonMap. injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)
-
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>SynchronizedMutableMap. 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>SynchronizedMutableMap. aggregateBy(Function<? super V,? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
private <P> V
UnifiedMap. chainedUpdateValueWith(K key, int index, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
<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 java.util.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>
VConcurrentHashMap. 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>
VConcurrentHashMapUnsafe. 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.private <P> V
ConcurrentHashMap. slowUpdateValueWith(K key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter, int hash, java.util.concurrent.atomic.AtomicReferenceArray currentArray)
private <P> V
ConcurrentHashMapUnsafe. slowUpdateValueWith(K key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter, int hash, java.lang.Object[] currentArray)
<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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 <K1,V1,V2>
MutableMapIterable<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>
MutableMapIterable<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 java.util.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 java.lang.Iterable<VV>> function, P parameter)
<P,VV,R extends java.util.Collection<VV>>
RUnmodifiableMutableOrderedMap. flatCollectWith(Function2<? super V,? super P,? extends java.lang.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)
<K2,V2>
ImmutableMap<K2,V2>ImmutableEmptySortedMap. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<R> ImmutableSortedMap<K,R>
AbstractImmutableSortedMap. collectValues(Function2<? super K,? super V,? extends R> function)
<R> ImmutableSortedMap<K,R>
ImmutableEmptySortedMap. 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>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 java.util.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 <K2,V2>
ImmutableMap<K2,V2>ImmutableEmptyMapWithHashingStrategy. collect(Function2<? super K,? super V,Pair<K2,V2>> function)
<R> ImmutableMap<K,R>
ImmutableEmptyMapWithHashingStrategy. collectValues(Function2<? super K,? super V,? extends R> function)
<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 private <P> V
UnifiedMapWithHashingStrategy. chainedUpdateValueWith(K key, int index, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
<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(java.lang.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(java.lang.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(java.lang.Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, int batchSize, java.util.concurrent.Executor executor)
static <T,K,V,R extends MutableMapIterable<K,V>>
RParallelIterate. aggregateBy(java.lang.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(java.lang.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(java.lang.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, java.util.concurrent.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)
<P,V,R extends java.util.Collection<V>>
RImmutableEmptySet. collectWith(Function2<? super T,? super P,? extends V> function, P parameter, R target)
<V,P>
ImmutableBag<V>ImmutableEmptySet. countByWith(Function2<? super T,? super P,? extends V> function, P parameter)
<V,P,R extends MutableBagIterable<V>>
RImmutableEmptySet. countByWith(Function2<? super T,? super P,? extends V> function, P parameter, R target)
<IV> IV
ImmutableEmptySet. injectInto(IV injectedValue, Function2<? super IV,? super T,? extends IV> function)
-
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>MultiReaderUnifiedSet.UntouchableMutableSet. 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.immutable
Methods in org.eclipse.collections.impl.set.sorted.immutable with parameters of type Function2 Modifier and Type Method Description <P,V>
ImmutableList<V>AbstractImmutableSortedSet. collectWith(Function2<? super T,? super P,? extends V> 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.immutable
Methods in org.eclipse.collections.impl.stack.immutable with parameters of type Function2 Modifier and Type Method Description <K,V>
ImmutableMap<K,V>ImmutableEmptyStack. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
<P,V>
ImmutableStack<V>ImmutableArrayStack. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
Deprecated.<P,V,R extends java.util.Collection<V>>
RImmutableArrayStack. collectWith(Function2<? super T,? super P,? extends V> function, P parameter, R targetCollection)
Deprecated.<P,V>
ImmutableStack<V>ImmutableEmptyStack. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P,V,R extends java.util.Collection<V>>
RImmutableEmptyStack. collectWith(Function2<? super T,? super P,? extends V> function, P parameter, R target)
<P,V>
ImmutableStack<V>ImmutableNotEmptyStack. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<IV> IV
ImmutableArrayStack. injectInto(IV injectedValue, Function2<? super IV,? super T,? extends IV> function)
Deprecated. -
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)
<P,V>
ArrayStack<V>ArrayStack. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<P,V,R extends java.util.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 java.util.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 java.util.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(java.util.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(java.lang.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(java.lang.Iterable<A> iterable1, java.lang.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(java.util.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 java.util.Map<K2,V2>>
RMapIterate. collect(java.util.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(java.util.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(java.util.Map<K1,V1> map, Function2<? super K1,? super V1,Pair<K2,V2>> function, Predicate2<? super K1,? super V1> predicate, java.util.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(java.util.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 java.util.Map<K,V2>>
RMapIterate. collectValues(java.util.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 java.util.Collection<V>>
RArrayIterate. collectWith(T[] objectArray, Function2<? super T,? super P,? extends V> function, P parameter, R targetCollection)
static <T,P,A>
java.util.ArrayList<A>ArrayListIterate. collectWith(java.util.ArrayList<T> list, Function2<? super T,? super P,? extends A> function, P parameter)
static <T,P,A,R extends java.util.Collection<A>>
RArrayListIterate. collectWith(java.util.ArrayList<T> list, Function2<? super T,? super P,? extends A> function, P parameter, R targetCollection)
static <T,P,A>
java.util.Collection<A>Iterate. collectWith(java.lang.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 java.util.Collection<A>>
RIterate. collectWith(java.lang.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(java.util.List<T> list, Function2<? super T,? super P,? extends A> function, P parameter)
static <T,P,A,R extends java.util.Collection<A>>
RListIterate. collectWith(java.util.List<T> list, Function2<? super T,? super P,? extends A> function, P parameter, R targetCollection)
static <T,IV>
IVArrayIterate. injectInto(IV injectValue, T[] objectArray, Function2<? super IV,? super T,? extends IV> function)
static <T,IV>
IVArrayListIterate. injectInto(IV injectValue, java.util.ArrayList<T> list, Function2<? super IV,? super T,? extends IV> function)
static <T,IV>
IVIterate. injectInto(IV injectValue, java.lang.Iterable<T> iterable, Function2<? super IV,? super T,? extends IV> function)
static <T,IV>
IVListIterate. injectInto(IV injectValue, java.util.List<T> list, Function2<? super IV,? super T,? extends IV> function)
static <K,V,IV>
IVMapIterate. injectInto(IV injectValue, java.util.Map<K,V> map, Function2<? super IV,? super V,? extends IV> function)
static <IV,K,V>
IVMapIterate. injectIntoIf(IV initialValue, java.util.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>
RStringIterate. injectIntoTokens(java.lang.String string, java.lang.String separator, R injectedValue, Function2<? super R,java.lang.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(java.lang.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(java.util.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(java.util.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 java.util.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 java.util.Collection<A>>
RIterableIterate. collectWith(java.lang.Iterable<T> iterable, Function2<? super T,? super P,? extends A> function, P parameter, R targetCollection)
static <T,P,V>
MutableList<V>IterableIterate. collectWith(java.lang.Iterable<T> iterable, Function2<? super T,? super P,? extends V> function, P parameter)
static <T,P,A,R extends java.util.Collection<A>>
RIteratorIterate. collectWith(java.util.Iterator<T> iterator, Function2<? super T,? super P,? extends A> function, P parameter, R targetCollection)
static <T,P,A,R extends java.util.Collection<A>>
RRandomAccessListIterate. collectWith(java.util.List<T> list, Function2<? super T,? super P,? extends A> function, P parameter, R targetCollection)
static <T,IV>
IVIterableIterate. injectInto(IV injectValue, java.lang.Iterable<T> iterable, Function2<? super IV,? super T,? extends IV> function)
static <T,IV>
IVIteratorIterate. injectInto(IV injectValue, java.util.Iterator<T> iterator, Function2<? super IV,? super T,? extends IV> function)
static <T,IV>
IVRandomAccessListIterate. injectInto(IV injectValue, java.util.List<T> list, Function2<? super IV,? super T,? extends IV> function)
-