Uses of Interface
org.eclipse.collections.api.block.function.Function
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.factory.map.primitive | |
org.eclipse.collections.api.list |
This package contains interfaces for list API which enhance the performance and functionality of
List . |
org.eclipse.collections.api.map |
This package contains interfaces for map API which enhance the performance and functionality of
Map |
org.eclipse.collections.api.map.primitive |
This package contains API for primitive to primitive maps, primitive to object maps and object to primitive maps with mutable and immutable variants.
|
org.eclipse.collections.api.map.sorted |
This package contains mutable and immutable sorted map interfaces.
|
org.eclipse.collections.api.multimap |
This package contains interfaces for
Multimap . |
org.eclipse.collections.api.multimap.bag |
This package contains interfaces for
BagMultimap . |
org.eclipse.collections.api.multimap.list |
This package contains interfaces for
ListMultimap . |
org.eclipse.collections.api.multimap.ordered | |
org.eclipse.collections.api.multimap.set |
This package contains interfaces for
SetMultimap . |
org.eclipse.collections.api.multimap.sortedbag |
This package contains interfaces for
SortedBagMultimap . |
org.eclipse.collections.api.multimap.sortedset |
This package contains interfaces for
SortedSetMultimap . |
org.eclipse.collections.api.ordered | |
org.eclipse.collections.api.set |
This package contains interfaces for set API which enhance the performance and functionality of
Set . |
org.eclipse.collections.api.set.sorted |
This package contains interfaces for sorted set API.
|
org.eclipse.collections.api.stack |
This package contains interfaces for stack API.
|
org.eclipse.collections.impl |
This package contains implementations for Eclipse Collections API.
|
org.eclipse.collections.impl.bag | |
org.eclipse.collections.impl.bag.immutable |
This package contains implementations of the
ImmutableBag interface. |
org.eclipse.collections.impl.bag.mutable |
This package contains implementations of the
MutableBag interface. |
org.eclipse.collections.impl.bag.sorted.mutable |
This package contains implementations of
MutableSortedBag . |
org.eclipse.collections.impl.bimap | |
org.eclipse.collections.impl.bimap.immutable | |
org.eclipse.collections.impl.bimap.mutable |
This package contains implementations of the
MutableBiMap interface. |
org.eclipse.collections.impl.block.comparator |
This package contains implementations of the
SerializableComparator interface. |
org.eclipse.collections.impl.block.factory |
This package contains factory implementations for
Function , Predicate , SerializableComparator and Procedure . |
org.eclipse.collections.impl.block.function | |
org.eclipse.collections.impl.block.function.checked | |
org.eclipse.collections.impl.block.function.primitive |
This package contains implementations of primitive functions.
|
org.eclipse.collections.impl.block.procedure |
This package contains implementations of
Procedure and Procedure2 . |
org.eclipse.collections.impl.collection | |
org.eclipse.collections.impl.collection.immutable |
This package contains implementations of the
ImmutableCollection interface. |
org.eclipse.collections.impl.collection.mutable |
This package contains implementations of the
MutableCollection interface. |
org.eclipse.collections.impl.collector | |
org.eclipse.collections.impl.forkjoin |
This package contains implementations which has several parallel algorithms that work with Collections and make use of Java's fork-join
framework.
|
org.eclipse.collections.impl.lazy |
This package contains implementations of the
LazyIterable interface. |
org.eclipse.collections.impl.lazy.iterator |
This package contains implementations of the
Iterator interface. |
org.eclipse.collections.impl.lazy.parallel | |
org.eclipse.collections.impl.lazy.parallel.bag | |
org.eclipse.collections.impl.lazy.parallel.list | |
org.eclipse.collections.impl.lazy.parallel.set | |
org.eclipse.collections.impl.lazy.parallel.set.sorted | |
org.eclipse.collections.impl.list |
This package contains implementations of the
ListIterable interface. |
org.eclipse.collections.impl.list.fixed |
This package contains implementations of the
FixedSizeList interface. |
org.eclipse.collections.impl.list.mutable |
This package contains implementations of the
MutableList interface. |
org.eclipse.collections.impl.map |
This package contains implementations of the
MapIterable interface. |
org.eclipse.collections.impl.map.immutable |
This package contains implementations of the
ImmutableMap interface. |
org.eclipse.collections.impl.map.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 the
MutableMap interface. |
org.eclipse.collections.impl.map.mutable.primitive |
This package contains implementations of the mutable primitive-primitive, primitive-object and object-primitive map interfaces.
|
org.eclipse.collections.impl.map.ordered.mutable | |
org.eclipse.collections.impl.map.sorted.immutable |
This package contains implementations of the
MutableSortedMap interface. |
org.eclipse.collections.impl.map.sorted.mutable |
This package contains implementations of the
MutableSortedMap interface. |
org.eclipse.collections.impl.map.strategy.mutable |
This package contains mutable map implementations backed by hashtables that rely on
HashingStrategy s provided by
the developer to compute the hashCode and equals for the objects stored in the map. |
org.eclipse.collections.impl.multimap |
This package contains implementations of the
Multimap interface. |
org.eclipse.collections.impl.multimap.bag |
This package contains implementations of the
BagMultimap interface. |
org.eclipse.collections.impl.multimap.bag.sorted | |
org.eclipse.collections.impl.multimap.bag.sorted.immutable | |
org.eclipse.collections.impl.multimap.bag.sorted.mutable | |
org.eclipse.collections.impl.multimap.bag.strategy | |
org.eclipse.collections.impl.multimap.list |
This package contains implementations of the
ListMultimap interface. |
org.eclipse.collections.impl.multimap.set |
This package contains implementations of the
SetMultimap interface. |
org.eclipse.collections.impl.multimap.set.sorted |
This package contains implementations of the
SortedSetMultimap interface. |
org.eclipse.collections.impl.parallel |
This package contains classes which is used for parallel iteration through the containers.
|
org.eclipse.collections.impl.set | |
org.eclipse.collections.impl.set.immutable |
This package package contains the implementations of
ImmutableSet . |
org.eclipse.collections.impl.set.mutable |
This package package contains implementations of
MutableSet . |
org.eclipse.collections.impl.set.sorted.mutable |
This package contains implementations of
MutableSortedSet . |
org.eclipse.collections.impl.set.strategy.mutable |
This package contains implementations of sets with user defined
HashingStrategy s. |
org.eclipse.collections.impl.stack.mutable |
This package contains implementations of the
MutableStack interface. |
org.eclipse.collections.impl.tuple | |
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 Function in org.eclipse.collections.api
Methods in org.eclipse.collections.api with parameters of type Function 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.<K, V> MapIterable<K,V>
ParallelIterable. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
default <K, V> MapIterable<K,V>
RichIterable. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
Applies an aggregate procedure over the iterable grouping results into a Map based on the specific groupBy function.<V> LazyIterable<V>
LazyIterable. collect(Function<? super T,? extends V> function)
Creates a deferred iterable for collecting elements from the current iterable.<V> ParallelIterable<V>
ParallelIterable. collect(Function<? super T,? extends V> function)
Creates a parallel iterable for collecting elements from the current iterable.<V> RichIterable<V>
RichIterable. collect(Function<? super T,? extends V> function)
Returns a new collection with the results of applying the specified function on each element of the source collection.<V, R extends Collection<V>>
RRichIterable. collect(Function<? super T,? extends V> function, R target)
Same asRichIterable.collect(Function)
, except that the results are gathered into the specifiedtarget
collection.<V> LazyIterable<V>
LazyIterable. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
Creates a deferred iterable for selecting and collecting elements from the current iterable.<V> ParallelIterable<V>
ParallelIterable. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
Creates a parallel iterable for selecting and collecting elements from the current iterable.<V> RichIterable<V>
RichIterable. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
Returns a new collection with the results of applying the specified function on each element of the source collection, but only for those elements which return true upon evaluation of the predicate.<V, R extends Collection<V>>
RRichIterable. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function, R target)
Same as the collectIf method with two parameters but uses the specified target collection for the results.default <V> boolean
RichIterable. containsBy(Function<? super T,? extends V> function, V value)
Returns true if the iterable has an element which responds true to element.equals(value) after applying the specified function to the element.default <V> Bag<V>
RichIterable. countBy(Function<? super T,? extends V> function)
This method will count the number of occurrences of each value calculated by applying the function to each element of the collection.default <V, R extends MutableBagIterable<V>>
RRichIterable. countBy(Function<? super T,? extends V> function, R target)
This method will count the number of occurrences of each value calculated by applying the function to each element of the collection.default <V> Bag<V>
RichIterable. countByEach(Function<? super T,? extends Iterable<V>> function)
This method will count the number of occurrences of each value calculated by applying the function to each element of the collection.default <V, R extends MutableBagIterable<V>>
RRichIterable. countByEach(Function<? super T,? extends Iterable<V>> function, R target)
This method will count the number of occurrences of each value calculated by applying the function to each element of the collection.<V> LazyIterable<V>
LazyIterable. flatCollect(Function<? super T,? extends Iterable<V>> function)
Creates a deferred flattening iterable for the current iterable.<V> ParallelIterable<V>
ParallelIterable. flatCollect(Function<? super T,? extends Iterable<V>> function)
Creates a parallel flattening iterable for the current iterable.<V> RichIterable<V>
RichIterable. flatCollect(Function<? super T,? extends Iterable<V>> function)
flatCollect
is a special case ofRichIterable.collect(Function)
.<V, R extends Collection<V>>
RRichIterable. flatCollect(Function<? super T,? extends Iterable<V>> function, R target)
Same as flatCollect, only the results are collected into the target collection.default <R extends MutableBooleanCollection>
RRichIterable. flatCollectBoolean(Function<? super T,? extends BooleanIterable> function, R target)
Same as flatCollect, only the results are collected into the target collection.default <R extends MutableByteCollection>
RRichIterable. flatCollectByte(Function<? super T,? extends ByteIterable> function, R target)
Same as flatCollect, only the results are collected into the target collection.default <R extends MutableCharCollection>
RRichIterable. flatCollectChar(Function<? super T,? extends CharIterable> function, R target)
Same as flatCollect, only the results are collected into the target collection.default <R extends MutableDoubleCollection>
RRichIterable. flatCollectDouble(Function<? super T,? extends DoubleIterable> function, R target)
Same as flatCollect, only the results are collected into the target collection.default <R extends MutableFloatCollection>
RRichIterable. flatCollectFloat(Function<? super T,? extends FloatIterable> function, R target)
Same as flatCollect, only the results are collected into the target collection.default <R extends MutableIntCollection>
RRichIterable. flatCollectInt(Function<? super T,? extends IntIterable> function, R target)
Same as flatCollect, only the results are collected into the target collection.default <R extends MutableLongCollection>
RRichIterable. flatCollectLong(Function<? super T,? extends LongIterable> function, R target)
Same as flatCollect, only the results are collected into the target collection.default <R extends MutableShortCollection>
RRichIterable. flatCollectShort(Function<? super T,? extends ShortIterable> function, R target)
Same as flatCollect, only the results are collected into the target collection.<V> Multimap<V,T>
ParallelIterable. groupBy(Function<? super T,? extends V> function)
<V> Multimap<V,T>
RichIterable. groupBy(Function<? super T,? extends V> function)
For each element of the iterable, the function is evaluated and the results of these evaluations are collected into a new multimap, where the transformed value is the key and the original values are added to the same (or similar) species of collection as the source iterable.<V, R extends MutableMultimap<V, T>>
RRichIterable. groupBy(Function<? super T,? extends V> function, R target)
Same asRichIterable.groupBy(Function)
, except that the results are gathered into the specifiedtarget
multimap.default <K, V, R extends MutableMultimap<K, V>>
RRichIterable. groupByAndCollect(Function<? super T,? extends K> groupByFunction, Function<? super T,? extends V> collectFunction, R target)
Applies a groupBy function over the iterable, followed by a collect function.<V> Multimap<V,T>
ParallelIterable. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> Multimap<V,T>
RichIterable. groupByEach(Function<? super T,? extends Iterable<V>> function)
Similar toRichIterable.groupBy(Function)
, except the result of evaluating function will return a collection of keys for each value.<V, R extends MutableMultimap<V, T>>
RRichIterable. groupByEach(Function<? super T,? extends Iterable<V>> function, R target)
Same asRichIterable.groupByEach(Function)
, except that the results are gathered into the specifiedtarget
multimap.<V> MapIterable<V,T>
ParallelIterable. groupByUniqueKey(Function<? super T,? extends V> function)
<V> MapIterable<V,T>
RichIterable. groupByUniqueKey(Function<? super T,? extends V> function)
For each element of the iterable, the function is evaluated and he results of these evaluations are collected into a new map, where the transformed value is the key.<V, R extends MutableMapIterable<V, T>>
RRichIterable. groupByUniqueKey(Function<? super T,? extends V> function, R target)
Same asRichIterable.groupByUniqueKey(Function)
, except that the results are gathered into the specifiedtarget
map.<V extends Comparable<? super V>>
TParallelIterable. maxBy(Function<? super T,? extends V> function)
<V extends Comparable<? super V>>
TRichIterable. maxBy(Function<? super T,? extends V> function)
Returns the maximum elements out of this container based on the natural order of the attribute returned by Function.default <V extends Comparable<? super V>>
Optional<T>RichIterable. maxByOptional(Function<? super T,? extends V> function)
Returns the maximum elements out of this container based on the natural order of the attribute returned by Function as an Optional.<V extends Comparable<? super V>>
TParallelIterable. minBy(Function<? super T,? extends V> function)
<V extends Comparable<? super V>>
TRichIterable. minBy(Function<? super T,? extends V> function)
Returns the minimum elements out of this container based on the natural order of the attribute returned by Function.default <V extends Comparable<? super V>>
Optional<T>RichIterable. minByOptional(Function<? super T,? extends V> function)
Returns the minimum elements out of this container based on the natural order of the attribute returned by Function as an Optional.<V> ObjectDoubleMap<V>
RichIterable. sumByDouble(Function<? super T,? extends V> groupBy, DoubleFunction<? super T> function)
Groups and sums the values using the two specified functions.<V> ObjectDoubleMap<V>
RichIterable. sumByFloat(Function<? super T,? extends V> groupBy, FloatFunction<? super T> function)
Groups and sums the values using the two specified functions.<V> ObjectLongMap<V>
RichIterable. sumByInt(Function<? super T,? extends V> groupBy, IntFunction<? super T> function)
Groups and sums the values using the two specified functions.<V> ObjectLongMap<V>
RichIterable. sumByLong(Function<? super T,? extends V> groupBy, LongFunction<? super T> function)
Groups and sums the values using the two specified functions.<NK, NV> MutableBiMap<NK,NV>
RichIterable. toBiMap(Function<? super T,? extends NK> keyFunction, Function<? super T,? extends NV> valueFunction)
Converts the collection to a BiMap implementation using the specified key and value functions.<NK, NV> MutableMap<NK,NV>
ParallelIterable. toMap(Function<? super T,? extends NK> keyFunction, Function<? super T,? extends NV> valueFunction)
<NK, NV> MutableMap<NK,NV>
RichIterable. toMap(Function<? super T,? extends NK> keyFunction, Function<? super T,? extends NV> valueFunction)
Converts the collection to a MutableMap implementation using the specified key and value functions.default <NK, NV, R extends Map<NK, NV>>
RRichIterable. toMap(Function<? super T,? extends NK> keyFunction, Function<? super T,? extends NV> valueFunction, R target)
Same asRichIterable.toMap(Function, Function)
, except that the results are gathered into the specifiedtarget
map.<V extends Comparable<? super V>>
MutableSortedBag<T>ParallelIterable. toSortedBagBy(Function<? super T,? extends V> function)
default <V extends Comparable<? super V>>
MutableSortedBag<T>RichIterable. toSortedBagBy(Function<? super T,? extends V> function)
Converts the collection to a MutableSortedBag implementation and sorts it based on the natural order of the attribute returned byfunction
.<V extends Comparable<? super V>>
MutableList<T>ParallelIterable. toSortedListBy(Function<? super T,? extends V> function)
default <V extends Comparable<? super V>>
MutableList<T>RichIterable. toSortedListBy(Function<? super T,? extends V> function)
Converts the collection to a MutableList implementation and sorts it based on the natural order of the attribute returned byfunction
.<NK, NV> MutableSortedMap<NK,NV>
ParallelIterable. toSortedMap(Comparator<? super NK> comparator, Function<? super T,? extends NK> keyFunction, Function<? super T,? extends NV> valueFunction)
<NK, NV> MutableSortedMap<NK,NV>
ParallelIterable. toSortedMap(Function<? super T,? extends NK> keyFunction, Function<? super T,? extends NV> valueFunction)
<NK, NV> MutableSortedMap<NK,NV>
RichIterable. toSortedMap(Comparator<? super NK> comparator, Function<? super T,? extends NK> keyFunction, Function<? super T,? extends NV> valueFunction)
Converts the collection to a MutableSortedMap implementation using the specified key and value functions sorted by the given comparator.<NK, NV> MutableSortedMap<NK,NV>
RichIterable. toSortedMap(Function<? super T,? extends NK> keyFunction, Function<? super T,? extends NV> valueFunction)
Converts the collection to a MutableSortedMap implementation using the specified key and value functions sorted by the key elements' natural ordering.default <KK extends Comparable<? super KK>, NK, NV>
MutableSortedMap<NK,NV>RichIterable. toSortedMapBy(Function<? super NK,KK> sortBy, Function<? super T,? extends NK> keyFunction, Function<? super T,? extends NV> valueFunction)
Converts the collection to a MutableSortedMap implementation using the specified key and value functions and sorts it based on the natural order of the attribute returned bysortBy
function.<V extends Comparable<? super V>>
MutableSortedSet<T>ParallelIterable. toSortedSetBy(Function<? super T,? extends V> function)
default <V extends Comparable<? super V>>
MutableSortedSet<T>RichIterable. toSortedSetBy(Function<? super T,? extends V> function)
Converts the collection to a MutableSortedSet implementation and sorts it based on the natural order of the attribute returned byfunction
. -
Uses of Function in org.eclipse.collections.api.bag
Methods in org.eclipse.collections.api.bag with parameters of type Function 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.<V> ImmutableBag<V>
ImmutableBag. collect(Function<? super T,? extends V> function)
<V> MutableBag<V>
MutableBag. collect(Function<? super T,? extends V> function)
<V> ParallelUnsortedBag<V>
ParallelUnsortedBag. collect(Function<? super T,? extends V> function)
Creates a parallel iterable for collecting elements from the current iterable.<V> UnsortedBag<V>
UnsortedBag. collect(Function<? super T,? extends V> function)
<V> ImmutableBag<V>
ImmutableBag. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<V> MutableBag<V>
MutableBag. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<V> ParallelUnsortedBag<V>
ParallelUnsortedBag. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
Creates a parallel iterable for selecting and collecting elements from the current iterable.<V> UnsortedBag<V>
UnsortedBag. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
default <V> ImmutableBag<V>
ImmutableBag. countBy(Function<? super T,? extends V> function)
default <V> MutableBag<V>
MutableBag. countBy(Function<? super T,? extends V> function)
default <V> ImmutableBag<V>
ImmutableBag. countByEach(Function<? super T,? extends Iterable<V>> function)
default <V> MutableBag<V>
MutableBag. countByEach(Function<? super T,? extends Iterable<V>> function)
<V> ImmutableBag<V>
ImmutableBag. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V> MutableBag<V>
MutableBag. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V> ParallelUnsortedBag<V>
ParallelUnsortedBag. flatCollect(Function<? super T,? extends Iterable<V>> function)
Creates a parallel flattening iterable for the current iterable.<V> UnsortedBag<V>
UnsortedBag. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V> BagMultimap<V,T>
Bag. groupBy(Function<? super T,? extends V> function)
<V> ImmutableBagMultimap<V,T>
ImmutableBag. groupBy(Function<? super T,? extends V> function)
<V> ImmutableBagIterableMultimap<V,T>
ImmutableBagIterable. groupBy(Function<? super T,? extends V> function)
<V> MutableBagMultimap<V,T>
MutableBag. groupBy(Function<? super T,? extends V> function)
<V> MutableBagIterableMultimap<V,T>
MutableBagIterable. groupBy(Function<? super T,? extends V> function)
<V> BagMultimap<V,T>
ParallelBag. groupBy(Function<? super T,? extends V> function)
<V> UnsortedBagMultimap<V,T>
ParallelUnsortedBag. groupBy(Function<? super T,? extends V> function)
<V> UnsortedBagMultimap<V,T>
UnsortedBag. groupBy(Function<? super T,? extends V> function)
<V> BagMultimap<V,T>
Bag. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> ImmutableBagMultimap<V,T>
ImmutableBag. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> ImmutableBagIterableMultimap<V,T>
ImmutableBagIterable. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> MutableBagMultimap<V,T>
MutableBag. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> MutableBagIterableMultimap<V,T>
MutableBagIterable. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> BagMultimap<V,T>
ParallelBag. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> UnsortedBagMultimap<V,T>
ParallelUnsortedBag. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> UnsortedBagMultimap<V,T>
UnsortedBag. groupByEach(Function<? super T,? extends Iterable<V>> function)
-
Uses of Function in org.eclipse.collections.api.bag.sorted
Methods in org.eclipse.collections.api.bag.sorted with parameters of type Function Modifier and Type Method Description <V> ImmutableList<V>
ImmutableSortedBag. collect(Function<? super T,? extends V> function)
<V> MutableList<V>
MutableSortedBag. collect(Function<? super T,? extends V> function)
<V> ParallelListIterable<V>
ParallelSortedBag. collect(Function<? super T,? extends V> function)
Creates a parallel iterable for collecting elements from the current iterable.<V> ListIterable<V>
SortedBag. collect(Function<? super T,? extends V> function)
<V> ImmutableList<V>
ImmutableSortedBag. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<V> MutableList<V>
MutableSortedBag. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<V> ParallelListIterable<V>
ParallelSortedBag. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
Creates a parallel iterable for selecting and collecting elements from the current iterable.<V> ListIterable<V>
SortedBag. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
default <V> ImmutableBag<V>
ImmutableSortedBag. countBy(Function<? super T,? extends V> function)
default <V> MutableBag<V>
MutableSortedBag. countBy(Function<? super T,? extends V> function)
default <V> ImmutableBag<V>
ImmutableSortedBag. countByEach(Function<? super T,? extends Iterable<V>> function)
default <V> MutableBag<V>
MutableSortedBag. countByEach(Function<? super T,? extends Iterable<V>> function)
<V> ImmutableList<V>
ImmutableSortedBag. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V> MutableList<V>
MutableSortedBag. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V> ParallelListIterable<V>
ParallelSortedBag. flatCollect(Function<? super T,? extends Iterable<V>> function)
Creates a parallel flattening iterable for the current iterable.<V> ListIterable<V>
SortedBag. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V> ImmutableSortedBagMultimap<V,T>
ImmutableSortedBag. groupBy(Function<? super T,? extends V> function)
<V> MutableSortedBagMultimap<V,T>
MutableSortedBag. groupBy(Function<? super T,? extends V> function)
<V> SortedBagMultimap<V,T>
ParallelSortedBag. groupBy(Function<? super T,? extends V> function)
<V> SortedBagMultimap<V,T>
SortedBag. groupBy(Function<? super T,? extends V> function)
<V> ImmutableSortedBagMultimap<V,T>
ImmutableSortedBag. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> MutableSortedBagMultimap<V,T>
MutableSortedBag. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> SortedBagMultimap<V,T>
ParallelSortedBag. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> SortedBagMultimap<V,T>
SortedBag. groupByEach(Function<? super T,? extends Iterable<V>> function)
-
Uses of Function in org.eclipse.collections.api.bimap
Methods in org.eclipse.collections.api.bimap with parameters of type Function Modifier and Type Method Description <V1> ImmutableBagIterable<V1>
ImmutableBiMap. collect(Function<? super V,? extends V1> function)
<V1> ImmutableBagIterable<V1>
ImmutableBiMap. collectIf(Predicate<? super V> predicate, Function<? super V,? extends V1> function)
<V1> ImmutableBagIterable<V1>
ImmutableBiMap. flatCollect(Function<? super V,? extends Iterable<V1>> function)
<V1> SetMultimap<V1,V>
BiMap. groupBy(Function<? super V,? extends V1> function)
<V1> ImmutableSetMultimap<V1,V>
ImmutableBiMap. groupBy(Function<? super V,? extends V1> function)
<V1> MutableSetMultimap<V1,V>
MutableBiMap. groupBy(Function<? super V,? extends V1> function)
<V1> SetMultimap<V1,V>
BiMap. groupByEach(Function<? super V,? extends Iterable<V1>> function)
<V1> ImmutableSetMultimap<V1,V>
ImmutableBiMap. groupByEach(Function<? super V,? extends Iterable<V1>> function)
<V1> MutableSetMultimap<V1,V>
MutableBiMap. groupByEach(Function<? super V,? extends Iterable<V1>> function)
<VV> BiMap<VV,V>
BiMap. groupByUniqueKey(Function<? super V,? extends VV> function)
default <VV> ImmutableBiMap<VV,V>
ImmutableBiMap. groupByUniqueKey(Function<? super V,? extends VV> function)
default <VV> MutableBiMap<VV,V>
MutableBiMap. groupByUniqueKey(Function<? super V,? extends VV> function)
-
Uses of Function in org.eclipse.collections.api.collection
Methods in org.eclipse.collections.api.collection with parameters of type Function 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)
default <K, V> ImmutableMap<K,V>
ImmutableCollection. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
default <K, V> MutableMap<K,V>
MutableCollection. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
<V> ImmutableCollection<V>
ImmutableCollection. collect(Function<? super T,? extends V> function)
<V> MutableCollection<V>
MutableCollection. collect(Function<? super T,? extends V> function)
Returns a new MutableCollection with the results of applying the specified function to each element of the source collection.<V> ImmutableCollection<V>
ImmutableCollection. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<V> MutableCollection<V>
MutableCollection. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
Returns a new MutableCollection with the results of applying the specified function to each element of the source collection, but only for elements that evaluate to true for the specified predicate.default <V> ImmutableBag<V>
ImmutableCollection. countBy(Function<? super T,? extends V> function)
default <V> MutableBag<V>
MutableCollection. countBy(Function<? super T,? extends V> function)
default <V> ImmutableBag<V>
ImmutableCollection. countByEach(Function<? super T,? extends Iterable<V>> function)
default <V> MutableBag<V>
MutableCollection. countByEach(Function<? super T,? extends Iterable<V>> function)
<V> ImmutableCollection<V>
ImmutableCollection. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V> MutableCollection<V>
MutableCollection. flatCollect(Function<? super T,? extends Iterable<V>> function)
flatCollect
is a special case ofRichIterable.collect(Function)
.<V> ImmutableMultimap<V,T>
ImmutableCollection. groupBy(Function<? super T,? extends V> function)
<V> MutableMultimap<V,T>
MutableCollection. groupBy(Function<? super T,? extends V> function)
For each element of the iterable, the function is evaluated and the results of these evaluations are collected into a new multimap, where the transformed value is the key and the original values are added to the same (or similar) species of collection as the source iterable.<V> ImmutableMultimap<V,T>
ImmutableCollection. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> MutableMultimap<V,T>
MutableCollection. groupByEach(Function<? super T,? extends Iterable<V>> function)
default <V> ImmutableMap<V,T>
ImmutableCollection. groupByUniqueKey(Function<? super T,? extends V> function)
default <V> MutableMap<V,T>
MutableCollection. groupByUniqueKey(Function<? super T,? extends V> function)
<V> ImmutableObjectDoubleMap<V>
ImmutableCollection. sumByDouble(Function<? super T,? extends V> groupBy, DoubleFunction<? super T> function)
<V> MutableObjectDoubleMap<V>
MutableCollection. sumByDouble(Function<? super T,? extends V> groupBy, DoubleFunction<? super T> function)
<V> ImmutableObjectDoubleMap<V>
ImmutableCollection. sumByFloat(Function<? super T,? extends V> groupBy, FloatFunction<? super T> function)
<V> MutableObjectDoubleMap<V>
MutableCollection. sumByFloat(Function<? super T,? extends V> groupBy, FloatFunction<? super T> function)
<V> ImmutableObjectLongMap<V>
ImmutableCollection. sumByInt(Function<? super T,? extends V> groupBy, IntFunction<? super T> function)
<V> MutableObjectLongMap<V>
MutableCollection. sumByInt(Function<? super T,? extends V> groupBy, IntFunction<? super T> function)
<V> ImmutableObjectLongMap<V>
ImmutableCollection. sumByLong(Function<? super T,? extends V> groupBy, LongFunction<? super T> function)
<V> MutableObjectLongMap<V>
MutableCollection. sumByLong(Function<? super T,? extends V> groupBy, LongFunction<? super T> function)
-
Uses of Function in org.eclipse.collections.api.factory.map.primitive
Methods in org.eclipse.collections.api.factory.map.primitive with parameters of type Function Modifier and Type Method Description <T, V> ImmutableByteObjectMap<V>
ImmutableByteObjectMapFactory. from(Iterable<T> iterable, ByteFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
Creates anImmutableByteObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<T, V> ImmutableCharObjectMap<V>
ImmutableCharObjectMapFactory. from(Iterable<T> iterable, CharFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
Creates anImmutableCharObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<T, V> ImmutableDoubleObjectMap<V>
ImmutableDoubleObjectMapFactory. from(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
Creates anImmutableDoubleObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<T, V> ImmutableFloatObjectMap<V>
ImmutableFloatObjectMapFactory. from(Iterable<T> iterable, FloatFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
Creates anImmutableFloatObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<T, V> ImmutableIntObjectMap<V>
ImmutableIntObjectMapFactory. from(Iterable<T> iterable, IntFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
Creates anImmutableIntObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<T, V> ImmutableLongObjectMap<V>
ImmutableLongObjectMapFactory. from(Iterable<T> iterable, LongFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
Creates anImmutableLongObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<T, K> ImmutableObjectBooleanMap<K>
ImmutableObjectBooleanMapFactory. from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, BooleanFunction<? super T> valueFunction)
Creates anImmutableObjectBooleanMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<T, K> ImmutableObjectByteMap<K>
ImmutableObjectByteMapFactory. from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, ByteFunction<? super T> valueFunction)
Creates anImmutableObjectByteMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<T, K> ImmutableObjectCharMap<K>
ImmutableObjectCharMapFactory. from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, CharFunction<? super T> valueFunction)
Creates anImmutableObjectCharMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<T, K> ImmutableObjectDoubleMap<K>
ImmutableObjectDoubleMapFactory. from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, DoubleFunction<? super T> valueFunction)
Creates anImmutableObjectDoubleMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<T, K> ImmutableObjectFloatMap<K>
ImmutableObjectFloatMapFactory. from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, FloatFunction<? super T> valueFunction)
Creates anImmutableObjectFloatMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<T, K> ImmutableObjectIntMap<K>
ImmutableObjectIntMapFactory. from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, IntFunction<? super T> valueFunction)
Creates anImmutableObjectIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<T, K> ImmutableObjectLongMap<K>
ImmutableObjectLongMapFactory. from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, LongFunction<? super T> valueFunction)
Creates anImmutableObjectLongMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<T, K> ImmutableObjectShortMap<K>
ImmutableObjectShortMapFactory. from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, ShortFunction<? super T> valueFunction)
Creates anImmutableObjectShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<T, V> ImmutableShortObjectMap<V>
ImmutableShortObjectMapFactory. from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
Creates anImmutableShortObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<T, V> MutableByteObjectMap<V>
MutableByteObjectMapFactory. from(Iterable<T> iterable, ByteFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
Creates anMutableByteObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<T, V> MutableCharObjectMap<V>
MutableCharObjectMapFactory. from(Iterable<T> iterable, CharFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
Creates anMutableCharObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<T, V> MutableDoubleObjectMap<V>
MutableDoubleObjectMapFactory. from(Iterable<T> iterable, DoubleFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
Creates anMutableDoubleObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<T, V> MutableFloatObjectMap<V>
MutableFloatObjectMapFactory. from(Iterable<T> iterable, FloatFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
Creates anMutableFloatObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<T, V> MutableIntObjectMap<V>
MutableIntObjectMapFactory. from(Iterable<T> iterable, IntFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
Creates anMutableIntObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<T, V> MutableLongObjectMap<V>
MutableLongObjectMapFactory. from(Iterable<T> iterable, LongFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
Creates anMutableLongObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<T, K> MutableObjectBooleanMap<K>
MutableObjectBooleanMapFactory. from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, BooleanFunction<? super T> valueFunction)
Creates anMutableObjectBooleanMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<T, K> MutableObjectByteMap<K>
MutableObjectByteMapFactory. from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, ByteFunction<? super T> valueFunction)
Creates anMutableObjectByteMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<T, K> MutableObjectCharMap<K>
MutableObjectCharMapFactory. from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, CharFunction<? super T> valueFunction)
Creates anMutableObjectCharMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<T, K> MutableObjectDoubleMap<K>
MutableObjectDoubleMapFactory. from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, DoubleFunction<? super T> valueFunction)
Creates anMutableObjectDoubleMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<T, K> MutableObjectFloatMap<K>
MutableObjectFloatMapFactory. from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, FloatFunction<? super T> valueFunction)
Creates anMutableObjectFloatMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<T, K> MutableObjectIntMap<K>
MutableObjectIntMapFactory. from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, IntFunction<? super T> valueFunction)
Creates anMutableObjectIntMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<T, K> MutableObjectLongMap<K>
MutableObjectLongMapFactory. from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, LongFunction<? super T> valueFunction)
Creates anMutableObjectLongMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<T, K> MutableObjectShortMap<K>
MutableObjectShortMapFactory. from(Iterable<T> iterable, Function<? super T,? extends K> keyFunction, ShortFunction<? super T> valueFunction)
Creates anMutableObjectShortMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
.<T, V> MutableShortObjectMap<V>
MutableShortObjectMapFactory. from(Iterable<T> iterable, ShortFunction<? super T> keyFunction, Function<? super T,? extends V> valueFunction)
Creates anMutableShortObjectMap
from anIterable<T>
by applyingkeyFunction
andvalueFunction
. -
Uses of Function in org.eclipse.collections.api.list
Methods in org.eclipse.collections.api.list with parameters of type Function Modifier and Type Method Description <V> ImmutableList<V>
ImmutableList. collect(Function<? super T,? extends V> function)
<V> ListIterable<V>
ListIterable. collect(Function<? super T,? extends V> function)
default <V> MutableList<V>
MutableList. collect(Function<? super T,? extends V> function)
<V> ParallelListIterable<V>
ParallelListIterable. collect(Function<? super T,? extends V> function)
Creates a parallel iterable for collecting elements from the current iterable.<V> ImmutableList<V>
ImmutableList. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<V> ListIterable<V>
ListIterable. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
default <V> MutableList<V>
MutableList. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<V> ParallelListIterable<V>
ParallelListIterable. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
Creates a parallel iterable for selecting and collecting elements from the current iterable.<V> ImmutableList<T>
ImmutableList. distinctBy(Function<? super T,? extends V> function)
<V> ListIterable<T>
ListIterable. distinctBy(Function<? super T,? extends V> function)
Returns a newListIterable
containing the distinct elements in this list.<V> MutableList<T>
MutableList. distinctBy(Function<? super T,? extends V> function)
<V> ImmutableList<V>
ImmutableList. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V> ListIterable<V>
ListIterable. flatCollect(Function<? super T,? extends Iterable<V>> function)
default <V> MutableList<V>
MutableList. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V> ParallelListIterable<V>
ParallelListIterable. flatCollect(Function<? super T,? extends Iterable<V>> function)
Creates a parallel flattening iterable for the current iterable.<V> ImmutableListMultimap<V,T>
ImmutableList. groupBy(Function<? super T,? extends V> function)
<V> ListMultimap<V,T>
ListIterable. groupBy(Function<? super T,? extends V> function)
<V> MutableListMultimap<V,T>
MutableList. groupBy(Function<? super T,? extends V> function)
<V> ListMultimap<V,T>
ParallelListIterable. groupBy(Function<? super T,? extends V> function)
<V> ImmutableListMultimap<V,T>
ImmutableList. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> ListMultimap<V,T>
ListIterable. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> MutableListMultimap<V,T>
MutableList. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> ListMultimap<V,T>
ParallelListIterable. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V extends Comparable<? super V>>
MutableList<T>MutableList. sortThisBy(Function<? super T,? extends V> function)
Sorts the internal data structure of this list based on the natural order of the attribute returned byfunction
. -
Uses of Function in org.eclipse.collections.api.map
Methods in org.eclipse.collections.api.map with parameters of type Function Modifier and Type Method Description default <K1, V1, V2> ImmutableMap<K1,V2>
ImmutableMap. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
default <KK, VV> ImmutableMap<KK,VV>
ImmutableMap. aggregateBy(Function<? super V,? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
default <K1, V1, V2> ImmutableMapIterable<K1,V2>
ImmutableMapIterable. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
default <KK, VV> ImmutableMapIterable<KK,VV>
ImmutableMapIterable. aggregateBy(Function<? super V,? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
default <K1, V1, V2> ImmutableOrderedMap<K1,V2>
ImmutableOrderedMap. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
<KK, VV> ImmutableOrderedMap<KK,VV>
ImmutableOrderedMap. aggregateBy(Function<? super V,? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
default <K1, V1, V2> MapIterable<K1,V2>
MapIterable. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
Applies an aggregate function over the map grouping results into a map based on the specific key and value groupBy functions.default <K1, V1, V2> MutableMap<K1,V2>
MutableMap. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
default <KK, VV> MutableMap<KK,VV>
MutableMap. aggregateBy(Function<? super V,? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
default <K1, V1, V2> MutableMap<K1,V2>
MutableMapIterable. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
default <KK, VV> MutableMap<KK,VV>
MutableMapIterable. aggregateBy(Function<? super V,? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
default <KK, VV> ImmutableMap<KK,VV>
ImmutableMap. aggregateInPlaceBy(Function<? super V,? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV,? super V> mutatingAggregator)
default <KK, VV> ImmutableMapIterable<KK,VV>
ImmutableMapIterable. aggregateInPlaceBy(Function<? super V,? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV,? super V> mutatingAggregator)
<KK, VV> ImmutableOrderedMap<KK,VV>
ImmutableOrderedMap. aggregateInPlaceBy(Function<? super V,? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV,? super V> mutatingAggregator)
default <KK, VV> MutableMap<KK,VV>
MutableMap. aggregateInPlaceBy(Function<? super V,? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV,? super V> mutatingAggregator)
default <KK, VV> MutableMap<KK,VV>
MutableMapIterable. aggregateInPlaceBy(Function<? super V,? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV,? super V> mutatingAggregator)
<VV> ImmutableBag<VV>
ImmutableMap. collect(Function<? super V,? extends VV> function)
<VV> ImmutableList<VV>
ImmutableOrderedMap. collect(Function<? super V,? extends VV> function)
<R> MutableBag<R>
MutableMap. collect(Function<? super V,? extends R> function)
<VV> MutableList<VV>
MutableOrderedMap. collect(Function<? super V,? extends VV> function)
<VV> ListIterable<VV>
OrderedMap. collect(Function<? super V,? extends VV> function)
<V1> Bag<V1>
UnsortedMapIterable. collect(Function<? super V,? extends V1> function)
<R> ImmutableBag<R>
ImmutableMap. collectIf(Predicate<? super V> predicate, Function<? super V,? extends R> function)
<V1> ImmutableList<V1>
ImmutableOrderedMap. collectIf(Predicate<? super V> predicate, Function<? super V,? extends V1> function)
<R> MutableBag<R>
MutableMap. collectIf(Predicate<? super V> predicate, Function<? super V,? extends R> function)
<V1> MutableList<V1>
MutableOrderedMap. collectIf(Predicate<? super V> predicate, Function<? super V,? extends V1> function)
<V1> ListIterable<V1>
OrderedMap. collectIf(Predicate<? super V> predicate, Function<? super V,? extends V1> function)
<V1> Bag<V1>
UnsortedMapIterable. collectIf(Predicate<? super V> predicate, Function<? super V,? extends V1> function)
<E> MutableMap<K,V>
MutableMap. collectKeysAndValues(Iterable<E> iterable, Function<? super E,? extends K> keyFunction, Function<? super E,? extends V> valueFunction)
Adds all the entries derived fromiterable
tothis
.default <V1> ImmutableBag<V1>
ImmutableMapIterable. countBy(Function<? super V,? extends V1> function)
default <V1> MutableBag<V1>
MutableMapIterable. countBy(Function<? super V,? extends V1> function)
default <V1> ImmutableBag<V1>
ImmutableMapIterable. countByEach(Function<? super V,? extends Iterable<V1>> function)
default <V1> MutableBag<V1>
MutableMapIterable. countByEach(Function<? super V,? extends Iterable<V1>> function)
<R> ImmutableBag<R>
ImmutableMap. flatCollect(Function<? super V,? extends Iterable<R>> function)
<V1> ImmutableList<V1>
ImmutableOrderedMap. flatCollect(Function<? super V,? extends Iterable<V1>> function)
<R> MutableBag<R>
MutableMap. flatCollect(Function<? super V,? extends Iterable<R>> function)
<V1> MutableList<V1>
MutableOrderedMap. flatCollect(Function<? super V,? extends Iterable<V1>> function)
<V1> ListIterable<V1>
OrderedMap. flatCollect(Function<? super V,? extends Iterable<V1>> function)
<V1> Bag<V1>
UnsortedMapIterable. flatCollect(Function<? super V,? extends Iterable<V1>> function)
<P> V
MutableMapIterable. getIfAbsentPutWith(K key, Function<? super P,? extends V> function, P parameter)
Get and return the value in the Map at the specified key.V
MutableMapIterable. getIfAbsentPutWithKey(K key, Function<? super K,? extends V> function)
Get and return the value in the Map at the specified key.<P> V
MapIterable. getIfAbsentWith(K key, Function<? super P,? extends V> function, P parameter)
Return the value in the Map that corresponds to the specified key, or if there is no value at the key, return the result of evaluating the specified function and parameter.<VV> ImmutableBagMultimap<VV,V>
ImmutableMap. groupBy(Function<? super V,? extends VV> function)
<V1> ImmutableMultimap<V1,V>
ImmutableMapIterable. groupBy(Function<? super V,? extends V1> function)
<V1> ImmutableListMultimap<V1,V>
ImmutableOrderedMap. groupBy(Function<? super V,? extends V1> function)
<VV> MutableBagMultimap<VV,V>
MutableMap. groupBy(Function<? super V,? extends VV> function)
<V1> MutableMultimap<V1,V>
MutableMapIterable. groupBy(Function<? super V,? extends V1> function)
<V1> MutableListMultimap<V1,V>
MutableOrderedMap. groupBy(Function<? super V,? extends V1> function)
<V1> ListMultimap<V1,V>
OrderedMap. groupBy(Function<? super V,? extends V1> function)
<V1> BagMultimap<V1,V>
UnsortedMapIterable. groupBy(Function<? super V,? extends V1> function)
<VV> ImmutableBagMultimap<VV,V>
ImmutableMap. groupByEach(Function<? super V,? extends Iterable<VV>> function)
<V1> ImmutableMultimap<V1,V>
ImmutableMapIterable. groupByEach(Function<? super V,? extends Iterable<V1>> function)
<V1> ImmutableListMultimap<V1,V>
ImmutableOrderedMap. groupByEach(Function<? super V,? extends Iterable<V1>> function)
<VV> MutableBagMultimap<VV,V>
MutableMap. groupByEach(Function<? super V,? extends Iterable<VV>> function)
<V1> MutableMultimap<V1,V>
MutableMapIterable. groupByEach(Function<? super V,? extends Iterable<V1>> function)
<V1> MutableListMultimap<V1,V>
MutableOrderedMap. groupByEach(Function<? super V,? extends Iterable<V1>> function)
<V1> ListMultimap<V1,V>
OrderedMap. groupByEach(Function<? super V,? extends Iterable<V1>> function)
<V1> BagMultimap<V1,V>
UnsortedMapIterable. groupByEach(Function<? super V,? extends Iterable<V1>> function)
default <V1> ImmutableMap<V1,V>
ImmutableMap. groupByUniqueKey(Function<? super V,? extends V1> function)
<V1> ImmutableMapIterable<V1,V>
ImmutableMapIterable. groupByUniqueKey(Function<? super V,? extends V1> function)
<V1> ImmutableOrderedMap<V1,V>
ImmutableOrderedMap. groupByUniqueKey(Function<? super V,? extends V1> function)
default <V1> MutableMap<V1,V>
MutableMap. groupByUniqueKey(Function<? super V,? extends V1> function)
<V1> MutableMapIterable<V1,V>
MutableMapIterable. groupByUniqueKey(Function<? super V,? extends V1> function)
<V1> MutableOrderedMap<V1,V>
MutableOrderedMap. groupByUniqueKey(Function<? super V,? extends V1> function)
<V1> OrderedMap<V1,V>
OrderedMap. groupByUniqueKey(Function<? super V,? extends V1> function)
<V1> UnsortedMapIterable<V1,V>
UnsortedMapIterable. groupByUniqueKey(Function<? super V,? extends V1> function)
<A> A
MapIterable. ifPresentApply(K key, Function<? super V,? extends A> function)
If there is a value in the Map that corresponds to the specified key return the result of applying the specified Function on the value, otherwise return null.<V1> MutableObjectDoubleMap<V1>
MutableMapIterable. sumByDouble(Function<? super V,? extends V1> groupBy, DoubleFunction<? super V> function)
<V1> MutableObjectDoubleMap<V1>
MutableMapIterable. sumByFloat(Function<? super V,? extends V1> groupBy, FloatFunction<? super V> function)
<V1> MutableObjectLongMap<V1>
MutableMapIterable. sumByInt(Function<? super V,? extends V1> groupBy, IntFunction<? super V> function)
<V1> MutableObjectLongMap<V1>
MutableMapIterable. sumByLong(Function<? super V,? extends V1> groupBy, LongFunction<? super V> function)
V
MutableMapIterable. updateValue(K key, Function0<? extends V> factory, Function<? super V,? extends V> function)
Looks up the value associated withkey
, applies thefunction
to it, and replaces the value. -
Uses of Function in org.eclipse.collections.api.map.primitive
Methods in org.eclipse.collections.api.map.primitive with parameters of type Function 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)
default <K, VV> ImmutableMap<K,VV>
ImmutablePrimitiveObjectMap. aggregateInPlaceBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV,? super V> mutatingAggregator)
<K, VV> MutableMap<K,VV>
MutablePrimitiveObjectMap. aggregateInPlaceBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV,? super V> mutatingAggregator)
<VV> ImmutableBag<VV>
ImmutablePrimitiveObjectMap. collect(Function<? super V,? extends VV> function)
<VV> MutableBag<VV>
MutablePrimitiveObjectMap. collect(Function<? super V,? extends VV> function)
<VV> Bag<VV>
PrimitiveObjectMap. collect(Function<? super V,? extends VV> function)
<VV> ImmutableBag<VV>
ImmutablePrimitiveObjectMap. collectIf(Predicate<? super V> predicate, Function<? super V,? extends VV> function)
<VV> MutableBag<VV>
MutablePrimitiveObjectMap. collectIf(Predicate<? super V> predicate, Function<? super V,? extends VV> function)
<VV> Bag<VV>
PrimitiveObjectMap. collectIf(Predicate<? super V> predicate, Function<? super V,? extends VV> function)
<VV> ImmutableBag<VV>
ImmutablePrimitiveObjectMap. flatCollect(Function<? super V,? extends Iterable<VV>> function)
<VV> MutableBag<VV>
MutablePrimitiveObjectMap. flatCollect(Function<? super V,? extends Iterable<VV>> function)
<VV> Bag<VV>
PrimitiveObjectMap. flatCollect(Function<? super V,? extends Iterable<VV>> function)
<P> V
MutableByteObjectMap. getIfAbsentPutWith(byte key, Function<? super P,? extends V> function, P parameter)
Retrieves the value associated with the key if one exists; if it does not, invokes the value function with the parameter and associates the result with the key.<P> V
MutableCharObjectMap. getIfAbsentPutWith(char key, Function<? super P,? extends V> function, P parameter)
Retrieves the value associated with the key if one exists; if it does not, invokes the value function with the parameter and associates the result with the key.<P> V
MutableDoubleObjectMap. getIfAbsentPutWith(double key, Function<? super P,? extends V> function, P parameter)
Retrieves the value associated with the key if one exists; if it does not, invokes the value function with the parameter and associates the result with the key.<P> V
MutableFloatObjectMap. getIfAbsentPutWith(float key, Function<? super P,? extends V> function, P parameter)
Retrieves the value associated with the key if one exists; if it does not, invokes the value function with the parameter and associates the result with the key.<P> V
MutableIntObjectMap. getIfAbsentPutWith(int key, Function<? super P,? extends V> function, P parameter)
Retrieves the value associated with the key if one exists; if it does not, invokes the value function with the parameter and associates the result with the key.<P> V
MutableLongObjectMap. getIfAbsentPutWith(long key, Function<? super P,? extends V> function, P parameter)
Retrieves the value associated with the key if one exists; if it does not, invokes the value function with the parameter and associates the result with the key.<P> V
MutableShortObjectMap. getIfAbsentPutWith(short key, Function<? super P,? extends V> function, P parameter)
Retrieves the value associated with the key if one exists; if it does not, invokes the value function with the parameter and associates the result with the key.<VV> ImmutableBagMultimap<VV,V>
ImmutablePrimitiveObjectMap. groupBy(Function<? super V,? extends VV> function)
<VV> MutableBagMultimap<VV,V>
MutablePrimitiveObjectMap. groupBy(Function<? super V,? extends VV> function)
<VV> BagMultimap<VV,V>
PrimitiveObjectMap. groupBy(Function<? super V,? extends VV> function)
<VV> ImmutableBagMultimap<VV,V>
ImmutablePrimitiveObjectMap. groupByEach(Function<? super V,? extends Iterable<VV>> function)
<VV> MutableBagMultimap<VV,V>
MutablePrimitiveObjectMap. groupByEach(Function<? super V,? extends Iterable<VV>> function)
<VV> BagMultimap<VV,V>
PrimitiveObjectMap. groupByEach(Function<? super V,? extends Iterable<VV>> function)
default <VV> ImmutableMap<VV,V>
ImmutablePrimitiveObjectMap. groupByUniqueKey(Function<? super V,? extends VV> function)
default <VV> MutableMap<VV,V>
MutablePrimitiveObjectMap. groupByUniqueKey(Function<? super V,? extends VV> function)
<VV> UnsortedMapIterable<VV,V>
PrimitiveObjectMap. groupByUniqueKey(Function<? super V,? extends VV> function)
<VV> ImmutableObjectDoubleMap<VV>
ImmutablePrimitiveObjectMap. sumByDouble(Function<? super V,? extends VV> groupBy, DoubleFunction<? super V> function)
<VV> MutableObjectDoubleMap<VV>
MutablePrimitiveObjectMap. sumByDouble(Function<? super V,? extends VV> groupBy, DoubleFunction<? super V> function)
<VV> ImmutableObjectDoubleMap<VV>
ImmutablePrimitiveObjectMap. sumByFloat(Function<? super V,? extends VV> groupBy, FloatFunction<? super V> function)
<VV> MutableObjectDoubleMap<VV>
MutablePrimitiveObjectMap. sumByFloat(Function<? super V,? extends VV> groupBy, FloatFunction<? super V> function)
<VV> ImmutableObjectLongMap<VV>
ImmutablePrimitiveObjectMap. sumByInt(Function<? super V,? extends VV> groupBy, IntFunction<? super V> function)
<VV> MutableObjectLongMap<VV>
MutablePrimitiveObjectMap. sumByInt(Function<? super V,? extends VV> groupBy, IntFunction<? super V> function)
<VV> ImmutableObjectLongMap<VV>
ImmutablePrimitiveObjectMap. sumByLong(Function<? super V,? extends VV> groupBy, LongFunction<? super V> function)
<VV> MutableObjectLongMap<VV>
MutablePrimitiveObjectMap. sumByLong(Function<? super V,? extends VV> groupBy, LongFunction<? super V> function)
V
MutableByteObjectMap. updateValue(byte key, Function0<? extends V> factory, Function<? super V,? extends V> function)
Look up the value associated withkey
, apply thefunction
to it, and replace the value.V
MutableCharObjectMap. updateValue(char key, Function0<? extends V> factory, Function<? super V,? extends V> function)
Look up the value associated withkey
, apply thefunction
to it, and replace the value.V
MutableDoubleObjectMap. updateValue(double key, Function0<? extends V> factory, Function<? super V,? extends V> function)
Look up the value associated withkey
, apply thefunction
to it, and replace the value.V
MutableFloatObjectMap. updateValue(float key, Function0<? extends V> factory, Function<? super V,? extends V> function)
Look up the value associated withkey
, apply thefunction
to it, and replace the value.V
MutableIntObjectMap. updateValue(int key, Function0<? extends V> factory, Function<? super V,? extends V> function)
Look up the value associated withkey
, apply thefunction
to it, and replace the value.V
MutableLongObjectMap. updateValue(long key, Function0<? extends V> factory, Function<? super V,? extends V> function)
Look up the value associated withkey
, apply thefunction
to it, and replace the value.V
MutableShortObjectMap. updateValue(short key, Function0<? extends V> factory, Function<? super V,? extends V> function)
Look up the value associated withkey
, apply thefunction
to it, and replace the value. -
Uses of Function in org.eclipse.collections.api.map.sorted
Methods in org.eclipse.collections.api.map.sorted with parameters of type Function 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)
default <KK, VV> ImmutableMap<KK,VV>
ImmutableSortedMap. aggregateInPlaceBy(Function<? super V,? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV,? super V> mutatingAggregator)
<R> ImmutableList<R>
ImmutableSortedMap. collect(Function<? super V,? extends R> function)
<R> MutableList<R>
MutableSortedMap. collect(Function<? super V,? extends R> function)
<V1> ListIterable<V1>
SortedMapIterable. collect(Function<? super V,? extends V1> function)
<R> ImmutableList<R>
ImmutableSortedMap. collectIf(Predicate<? super V> predicate, Function<? super V,? extends R> function)
<R> MutableList<R>
MutableSortedMap. collectIf(Predicate<? super V> predicate, Function<? super V,? extends R> function)
<V1> ListIterable<V1>
SortedMapIterable. collectIf(Predicate<? super V> predicate, Function<? super V,? extends V1> function)
<E> MutableSortedMap<K,V>
MutableSortedMap. collectKeysAndValues(Iterable<E> iterable, Function<? super E,? extends K> keyFunction, Function<? super E,? extends V> valueFunction)
Adds all the entries derived fromiterable
tothis
.<R> ImmutableList<R>
ImmutableSortedMap. flatCollect(Function<? super V,? extends Iterable<R>> function)
<R> MutableList<R>
MutableSortedMap. flatCollect(Function<? super V,? extends Iterable<R>> function)
<V1> ListIterable<V1>
SortedMapIterable. flatCollect(Function<? super V,? extends Iterable<V1>> function)
<P> V
MutableSortedMap. getIfAbsentPutWith(K key, Function<? super P,? extends V> function, P parameter)
Return the value in the Map that corresponds to the specified key, or if there is no value at the key, return the result of evaluating the specified one argument Function using the specified parameter, and put that value in the map at the specified key.<VV> ImmutableListMultimap<VV,V>
ImmutableSortedMap. groupBy(Function<? super V,? extends VV> function)
<VV> MutableListMultimap<VV,V>
MutableSortedMap. groupBy(Function<? super V,? extends VV> function)
<VV> ListMultimap<VV,V>
SortedMapIterable. groupBy(Function<? super V,? extends VV> function)
<VV> ImmutableListMultimap<VV,V>
ImmutableSortedMap. groupByEach(Function<? super V,? extends Iterable<VV>> function)
<VV> MutableListMultimap<VV,V>
MutableSortedMap. groupByEach(Function<? super V,? extends Iterable<VV>> function)
<VV> ListMultimap<VV,V>
SortedMapIterable. groupByEach(Function<? super V,? extends Iterable<VV>> function)
default <VV> ImmutableMap<VV,V>
ImmutableSortedMap. groupByUniqueKey(Function<? super V,? extends VV> function)
default <VV> MutableMap<VV,V>
MutableSortedMap. groupByUniqueKey(Function<? super V,? extends VV> function)
-
Uses of Function in org.eclipse.collections.api.multimap
Methods in org.eclipse.collections.api.multimap with parameters of type Function Modifier and Type Method Description <K2, V2> ImmutableMultimap<K2,V2>
ImmutableMultimap. collectKeyMultiValues(Function<? super K,? extends K2> keyFunction, Function<? super V,? extends V2> valueFunction)
<K2, V2> Multimap<K2,V2>
Multimap. collectKeyMultiValues(Function<? super K,? extends K2> keyFunction, Function<? super V,? extends V2> valueFunction)
Returns a new multimap with the results of applying the specified keyFunction and valueFunction on each key and corresponding values of the source multimap.<K2, V2, R extends MutableMultimap<K2, V2>>
RMultimap. collectKeyMultiValues(Function<? super K,? extends K2> keyFunction, Function<? super V,? extends V2> valueFunction, R target)
Same as the collectKeyMultiValues method but uses the specified target multimap for the results.<K2, V2> MutableMultimap<K2,V2>
MutableMultimap. collectKeyMultiValues(Function<? super K,? extends K2> keyFunction, Function<? super V,? extends V2> valueFunction)
<V2> ImmutableMultimap<K,V2>
ImmutableMultimap. collectValues(Function<? super V,? extends V2> function)
<V2> Multimap<K,V2>
Multimap. collectValues(Function<? super V,? extends V2> function)
Returns a new multimap with the results of applying the specified function on each value of the source multimap.<V2, R extends MutableMultimap<K, V2>>
RMultimap. collectValues(Function<? super V,? extends V2> function, R target)
Same as the collect method but uses the specified target multimap for the results.<V2> MutableMultimap<K,V2>
MutableMultimap. collectValues(Function<? super V,? extends V2> function)
-
Uses of Function in org.eclipse.collections.api.multimap.bag
Methods in org.eclipse.collections.api.multimap.bag with parameters of type Function Modifier and Type Method Description <K2, V2> ImmutableBagIterableMultimap<K2,V2>
ImmutableBagIterableMultimap. collectKeyMultiValues(Function<? super K,? extends K2> keyFunction, Function<? super V,? extends V2> valueFunction)
<K2, V2> ImmutableBagMultimap<K2,V2>
ImmutableBagMultimap. collectKeyMultiValues(Function<? super K,? extends K2> keyFunction, Function<? super V,? extends V2> valueFunction)
<K2, V2> MutableBagIterableMultimap<K2,V2>
MutableBagIterableMultimap. collectKeyMultiValues(Function<? super K,? extends K2> keyFunction, Function<? super V,? extends V2> valueFunction)
<K2, V2> MutableBagMultimap<K2,V2>
MutableBagMultimap. collectKeyMultiValues(Function<? super K,? extends K2> keyFunction, Function<? super V,? extends V2> valueFunction)
<K2, V2> UnsortedBagMultimap<K2,V2>
UnsortedBagMultimap. collectKeyMultiValues(Function<? super K,? extends K2> keyFunction, Function<? super V,? extends V2> valueFunction)
<V2> ImmutableMultimap<K,V2>
ImmutableBagIterableMultimap. collectValues(Function<? super V,? extends V2> function)
<V2> ImmutableBagMultimap<K,V2>
ImmutableBagMultimap. collectValues(Function<? super V,? extends V2> function)
<V2> MutableMultimap<K,V2>
MutableBagIterableMultimap. collectValues(Function<? super V,? extends V2> function)
<V2> MutableBagMultimap<K,V2>
MutableBagMultimap. collectValues(Function<? super V,? extends V2> function)
<V2> UnsortedBagMultimap<K,V2>
UnsortedBagMultimap. collectValues(Function<? super V,? extends V2> function)
-
Uses of Function in org.eclipse.collections.api.multimap.list
Methods in org.eclipse.collections.api.multimap.list with parameters of type Function Modifier and Type Method Description <K2, V2> ImmutableBagMultimap<K2,V2>
ImmutableListMultimap. collectKeyMultiValues(Function<? super K,? extends K2> keyFunction, Function<? super V,? extends V2> valueFunction)
<K2, V2> BagMultimap<K2,V2>
ListMultimap. collectKeyMultiValues(Function<? super K,? extends K2> keyFunction, Function<? super V,? extends V2> valueFunction)
<K2, V2> MutableBagMultimap<K2,V2>
MutableListMultimap. collectKeyMultiValues(Function<? super K,? extends K2> keyFunction, Function<? super V,? extends V2> valueFunction)
<V2> ImmutableListMultimap<K,V2>
ImmutableListMultimap. collectValues(Function<? super V,? extends V2> function)
<V2> ListMultimap<K,V2>
ListMultimap. collectValues(Function<? super V,? extends V2> function)
<V2> MutableListMultimap<K,V2>
MutableListMultimap. collectValues(Function<? super V,? extends V2> function)
-
Uses of Function in org.eclipse.collections.api.multimap.ordered
Methods in org.eclipse.collections.api.multimap.ordered with parameters of type Function Modifier and Type Method Description <K2, V2> BagMultimap<K2,V2>
OrderedIterableMultimap. collectKeyMultiValues(Function<? super K,? extends K2> keyFunction, Function<? super V,? extends V2> valueFunction)
<V2> OrderedIterableMultimap<K,V2>
OrderedIterableMultimap. collectValues(Function<? super V,? extends V2> function)
<V2> ReversibleIterableMultimap<K,V2>
ReversibleIterableMultimap. collectValues(Function<? super V,? extends V2> function)
<V2> ListMultimap<K,V2>
SortedIterableMultimap. collectValues(Function<? super V,? extends V2> function)
-
Uses of Function in org.eclipse.collections.api.multimap.set
Methods in org.eclipse.collections.api.multimap.set with parameters of type Function Modifier and Type Method Description <K2, V2> ImmutableBagIterableMultimap<K2,V2>
ImmutableSetIterableMultimap. collectKeyMultiValues(Function<? super K,? extends K2> keyFunction, Function<? super V,? extends V2> valueFunction)
<K2, V2> ImmutableBagMultimap<K2,V2>
ImmutableSetMultimap. collectKeyMultiValues(Function<? super K,? extends K2> keyFunction, Function<? super V,? extends V2> valueFunction)
<K2, V2> MutableBagIterableMultimap<K2,V2>
MutableSetIterableMultimap. collectKeyMultiValues(Function<? super K,? extends K2> keyFunction, Function<? super V,? extends V2> valueFunction)
<K2, V2> MutableBagMultimap<K2,V2>
MutableSetMultimap. collectKeyMultiValues(Function<? super K,? extends K2> keyFunction, Function<? super V,? extends V2> valueFunction)
<K2, V2> UnsortedBagMultimap<K2,V2>
UnsortedSetMultimap. collectKeyMultiValues(Function<? super K,? extends K2> keyFunction, Function<? super V,? extends V2> valueFunction)
<V2> ImmutableMultimap<K,V2>
ImmutableSetIterableMultimap. collectValues(Function<? super V,? extends V2> function)
<V2> ImmutableBagMultimap<K,V2>
ImmutableSetMultimap. collectValues(Function<? super V,? extends V2> function)
<V2> MutableMultimap<K,V2>
MutableSetIterableMultimap. collectValues(Function<? super V,? extends V2> function)
<V2> MutableBagMultimap<K,V2>
MutableSetMultimap. collectValues(Function<? super V,? extends V2> function)
<V2> UnsortedBagMultimap<K,V2>
UnsortedSetMultimap. collectValues(Function<? super V,? extends V2> function)
-
Uses of Function in org.eclipse.collections.api.multimap.sortedbag
Methods in org.eclipse.collections.api.multimap.sortedbag with parameters of type Function Modifier and Type Method Description <K2, V2> ImmutableBagMultimap<K2,V2>
ImmutableSortedBagMultimap. collectKeyMultiValues(Function<? super K,? extends K2> keyFunction, Function<? super V,? extends V2> valueFunction)
<K2, V2> MutableBagMultimap<K2,V2>
MutableSortedBagMultimap. collectKeyMultiValues(Function<? super K,? extends K2> keyFunction, Function<? super V,? extends V2> valueFunction)
<K2, V2> BagMultimap<K2,V2>
SortedBagMultimap. collectKeyMultiValues(Function<? super K,? extends K2> keyFunction, Function<? super V,? extends V2> valueFunction)
<V2> ImmutableListMultimap<K,V2>
ImmutableSortedBagMultimap. collectValues(Function<? super V,? extends V2> function)
<V2> MutableListMultimap<K,V2>
MutableSortedBagMultimap. collectValues(Function<? super V,? extends V2> function)
<V2> ListMultimap<K,V2>
SortedBagMultimap. collectValues(Function<? super V,? extends V2> function)
-
Uses of Function in org.eclipse.collections.api.multimap.sortedset
Methods in org.eclipse.collections.api.multimap.sortedset with parameters of type Function Modifier and Type Method Description <K2, V2> ImmutableBagMultimap<K2,V2>
ImmutableSortedSetMultimap. collectKeyMultiValues(Function<? super K,? extends K2> keyFunction, Function<? super V,? extends V2> valueFunction)
<K2, V2> MutableBagMultimap<K2,V2>
MutableSortedSetMultimap. collectKeyMultiValues(Function<? super K,? extends K2> keyFunction, Function<? super V,? extends V2> valueFunction)
<K2, V2> BagMultimap<K2,V2>
SortedSetMultimap. collectKeyMultiValues(Function<? super K,? extends K2> keyFunction, Function<? super V,? extends V2> valueFunction)
<V2> ImmutableListMultimap<K,V2>
ImmutableSortedSetMultimap. collectValues(Function<? super V,? extends V2> function)
<V2> MutableListMultimap<K,V2>
MutableSortedSetMultimap. collectValues(Function<? super V,? extends V2> function)
<V2> ListMultimap<K,V2>
SortedSetMultimap. collectValues(Function<? super V,? extends V2> function)
-
Uses of Function in org.eclipse.collections.api.ordered
Methods in org.eclipse.collections.api.ordered with parameters of type Function Modifier and Type Method Description <V> OrderedIterable<V>
OrderedIterable. collect(Function<? super T,? extends V> function)
<V> ReversibleIterable<V>
ReversibleIterable. collect(Function<? super T,? extends V> function)
<V> OrderedIterable<V>
OrderedIterable. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<V> ReversibleIterable<V>
ReversibleIterable. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<V> OrderedIterable<V>
OrderedIterable. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V> ReversibleIterable<V>
ReversibleIterable. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V> OrderedIterableMultimap<V,T>
OrderedIterable. groupBy(Function<? super T,? extends V> function)
<V> ReversibleIterableMultimap<V,T>
ReversibleIterable. groupBy(Function<? super T,? extends V> function)
<V> SortedIterableMultimap<V,T>
SortedIterable. groupBy(Function<? super T,? extends V> function)
<V> OrderedIterableMultimap<V,T>
OrderedIterable. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> ReversibleIterableMultimap<V,T>
ReversibleIterable. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> SortedIterableMultimap<V,T>
SortedIterable. groupByEach(Function<? super T,? extends Iterable<V>> function)
-
Uses of Function in org.eclipse.collections.api.set
Methods in org.eclipse.collections.api.set with parameters of type Function Modifier and Type Method Description <V> ImmutableSet<V>
ImmutableSet. collect(Function<? super T,? extends V> function)
<V> MutableSet<V>
MutableSet. collect(Function<? super T,? extends V> function)
<V> UnsortedSetIterable<V>
UnsortedSetIterable. collect(Function<? super T,? extends V> function)
<V> ImmutableSet<V>
ImmutableSet. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<V> MutableSet<V>
MutableSet. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<V> UnsortedSetIterable<V>
UnsortedSetIterable. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<V> ImmutableSet<V>
ImmutableSet. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V> MutableSet<V>
MutableSet. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V> UnsortedSetIterable<V>
UnsortedSetIterable. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V> ImmutableSetMultimap<V,T>
ImmutableSet. groupBy(Function<? super T,? extends V> function)
<V> ImmutableSetIterableMultimap<V,T>
ImmutableSetIterable. groupBy(Function<? super T,? extends V> function)
<V> MutableSetMultimap<V,T>
MutableSet. groupBy(Function<? super T,? extends V> function)
<V> MutableSetIterableMultimap<V,T>
MutableSetIterable. groupBy(Function<? super T,? extends V> function)
<V> SetMultimap<V,T>
ParallelSetIterable. groupBy(Function<? super T,? extends V> function)
<V> UnsortedSetMultimap<V,T>
ParallelUnsortedSetIterable. groupBy(Function<? super T,? extends V> function)
<V> UnsortedSetMultimap<V,T>
UnsortedSetIterable. groupBy(Function<? super T,? extends V> function)
<V> ImmutableSetMultimap<V,T>
ImmutableSet. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> ImmutableSetIterableMultimap<V,T>
ImmutableSetIterable. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> MutableSetMultimap<V,T>
MutableSet. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> MutableSetIterableMultimap<V,T>
MutableSetIterable. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> SetMultimap<V,T>
ParallelSetIterable. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> UnsortedSetMultimap<V,T>
ParallelUnsortedSetIterable. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> UnsortedSetMultimap<V,T>
UnsortedSetIterable. groupByEach(Function<? super T,? extends Iterable<V>> function)
-
Uses of Function in org.eclipse.collections.api.set.sorted
Methods in org.eclipse.collections.api.set.sorted with parameters of type Function Modifier and Type Method Description <V> ImmutableList<V>
ImmutableSortedSet. collect(Function<? super T,? extends V> function)
<V> MutableList<V>
MutableSortedSet. collect(Function<? super T,? extends V> function)
<V> ParallelListIterable<V>
ParallelSortedSetIterable. collect(Function<? super T,? extends V> function)
Creates a parallel iterable for collecting elements from the current iterable.<V> ListIterable<V>
SortedSetIterable. collect(Function<? super T,? extends V> function)
<V> ImmutableList<V>
ImmutableSortedSet. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<V> MutableList<V>
MutableSortedSet. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<V> ParallelListIterable<V>
ParallelSortedSetIterable. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
Creates a parallel iterable for selecting and collecting elements from the current iterable.<V> ListIterable<V>
SortedSetIterable. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<V> ImmutableList<V>
ImmutableSortedSet. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V> MutableList<V>
MutableSortedSet. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V> ParallelListIterable<V>
ParallelSortedSetIterable. flatCollect(Function<? super T,? extends Iterable<V>> function)
Creates a parallel flattening iterable for the current iterable.<V> ListIterable<V>
SortedSetIterable. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V> ImmutableSortedSetMultimap<V,T>
ImmutableSortedSet. groupBy(Function<? super T,? extends V> function)
<V> MutableSortedSetMultimap<V,T>
MutableSortedSet. groupBy(Function<? super T,? extends V> function)
<V> SortedSetMultimap<V,T>
ParallelSortedSetIterable. groupBy(Function<? super T,? extends V> function)
<V> SortedSetMultimap<V,T>
SortedSetIterable. groupBy(Function<? super T,? extends V> function)
<V> ImmutableSortedSetMultimap<V,T>
ImmutableSortedSet. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> MutableSortedSetMultimap<V,T>
MutableSortedSet. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> SortedSetMultimap<V,T>
ParallelSortedSetIterable. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> SortedSetMultimap<V,T>
SortedSetIterable. groupByEach(Function<? super T,? extends Iterable<V>> function)
-
Uses of Function in org.eclipse.collections.api.stack
Methods in org.eclipse.collections.api.stack with parameters of type Function 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)
default <K, V> ImmutableMap<K,V>
ImmutableStack. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
default <K, V> MutableMap<K,V>
MutableStack. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
<V> ImmutableStack<V>
ImmutableStack. collect(Function<? super T,? extends V> function)
<V> MutableStack<V>
MutableStack. collect(Function<? super T,? extends V> function)
<V> StackIterable<V>
StackIterable. collect(Function<? super T,? extends V> function)
<V> ImmutableStack<V>
ImmutableStack. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<V> MutableStack<V>
MutableStack. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<V> StackIterable<V>
StackIterable. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
default <V> ImmutableBag<V>
ImmutableStack. countBy(Function<? super T,? extends V> function)
default <V> MutableBag<V>
MutableStack. countBy(Function<? super T,? extends V> function)
default <V> ImmutableBag<V>
ImmutableStack. countByEach(Function<? super T,? extends Iterable<V>> function)
default <V> MutableBag<V>
MutableStack. countByEach(Function<? super T,? extends Iterable<V>> function)
<V> ImmutableStack<V>
ImmutableStack. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V> MutableStack<V>
MutableStack. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V> StackIterable<V>
StackIterable. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V> ImmutableListMultimap<V,T>
ImmutableStack. groupBy(Function<? super T,? extends V> function)
<V> MutableListMultimap<V,T>
MutableStack. groupBy(Function<? super T,? extends V> function)
<V> ListMultimap<V,T>
StackIterable. groupBy(Function<? super T,? extends V> function)
<V> ImmutableListMultimap<V,T>
ImmutableStack. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> MutableListMultimap<V,T>
MutableStack. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> ListMultimap<V,T>
StackIterable. groupByEach(Function<? super T,? extends Iterable<V>> function)
default <V> ImmutableMap<V,T>
ImmutableStack. groupByUniqueKey(Function<? super T,? extends V> function)
default <V> MutableMap<V,T>
MutableStack. groupByUniqueKey(Function<? super T,? extends V> function)
<V> ImmutableObjectDoubleMap<V>
ImmutableStack. sumByDouble(Function<? super T,? extends V> groupBy, DoubleFunction<? super T> function)
<V> MutableObjectDoubleMap<V>
MutableStack. sumByDouble(Function<? super T,? extends V> groupBy, DoubleFunction<? super T> function)
<V> ImmutableObjectDoubleMap<V>
ImmutableStack. sumByFloat(Function<? super T,? extends V> groupBy, FloatFunction<? super T> function)
<V> MutableObjectDoubleMap<V>
MutableStack. sumByFloat(Function<? super T,? extends V> groupBy, FloatFunction<? super T> function)
<V> ImmutableObjectLongMap<V>
ImmutableStack. sumByInt(Function<? super T,? extends V> groupBy, IntFunction<? super T> function)
<V> MutableObjectLongMap<V>
MutableStack. sumByInt(Function<? super T,? extends V> groupBy, IntFunction<? super T> function)
<V> ImmutableObjectLongMap<V>
ImmutableStack. sumByLong(Function<? super T,? extends V> groupBy, LongFunction<? super T> function)
<V> MutableObjectLongMap<V>
MutableStack. sumByLong(Function<? super T,? extends V> groupBy, LongFunction<? super T> function)
-
Uses of Function in org.eclipse.collections.impl
Methods in org.eclipse.collections.impl with parameters of type Function 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)
<K, V> MapIterable<K,V>
UnmodifiableRichIterable. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
<V, R extends Collection<V>>
RAbstractRichIterable. collect(Function<? super T,? extends V> function, R target)
<V> RichIterable<V>
UnmodifiableRichIterable. collect(Function<? super T,? extends V> function)
<V, R extends Collection<V>>
RUnmodifiableRichIterable. collect(Function<? super T,? extends V> function, R target)
<V, R extends Collection<V>>
RAbstractRichIterable. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function, R target)
<V> RichIterable<V>
UnmodifiableRichIterable. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<V, R extends Collection<V>>
RUnmodifiableRichIterable. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function, R target)
<V> Bag<V>
AbstractRichIterable. countByEach(Function<? super T,? extends Iterable<V>> function)
<V, R extends Collection<V>>
RAbstractRichIterable. flatCollect(Function<? super T,? extends Iterable<V>> function, R target)
<V> RichIterable<V>
UnmodifiableRichIterable. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V, R extends Collection<V>>
RUnmodifiableRichIterable. flatCollect(Function<? super T,? extends Iterable<V>> function, R target)
<R extends MutableBooleanCollection>
RUnmodifiableRichIterable. flatCollectBoolean(Function<? super T,? extends BooleanIterable> function, R target)
<R extends MutableByteCollection>
RUnmodifiableRichIterable. flatCollectByte(Function<? super T,? extends ByteIterable> function, R target)
<R extends MutableCharCollection>
RUnmodifiableRichIterable. flatCollectChar(Function<? super T,? extends CharIterable> function, R target)
<R extends MutableDoubleCollection>
RUnmodifiableRichIterable. flatCollectDouble(Function<? super T,? extends DoubleIterable> function, R target)
<R extends MutableFloatCollection>
RUnmodifiableRichIterable. flatCollectFloat(Function<? super T,? extends FloatIterable> function, R target)
<R extends MutableIntCollection>
RUnmodifiableRichIterable. flatCollectInt(Function<? super T,? extends IntIterable> function, R target)
<R extends MutableLongCollection>
RUnmodifiableRichIterable. flatCollectLong(Function<? super T,? extends LongIterable> function, R target)
<R extends MutableShortCollection>
RUnmodifiableRichIterable. flatCollectShort(Function<? super T,? extends ShortIterable> function, R target)
<V, R extends MutableMultimap<V, T>>
RAbstractRichIterable. groupBy(Function<? super T,? extends V> function, R target)
<V> Multimap<V,T>
UnmodifiableRichIterable. groupBy(Function<? super T,? extends V> function)
<V, R extends MutableMultimap<V, T>>
RUnmodifiableRichIterable. groupBy(Function<? super T,? extends V> function, R target)
<V, R extends MutableMultimap<V, T>>
RAbstractRichIterable. groupByEach(Function<? super T,? extends Iterable<V>> function, R target)
<V> Multimap<V,T>
UnmodifiableRichIterable. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V, R extends MutableMultimap<V, T>>
RUnmodifiableRichIterable. groupByEach(Function<? super T,? extends Iterable<V>> function, R target)
<V, R extends MutableMapIterable<V, T>>
RAbstractRichIterable. groupByUniqueKey(Function<? super T,? extends V> function, R target)
<V> MapIterable<V,T>
UnmodifiableRichIterable. groupByUniqueKey(Function<? super T,? extends V> function)
<V, R extends MutableMapIterable<V, T>>
RUnmodifiableRichIterable. groupByUniqueKey(Function<? super T,? extends V> function, R target)
<V extends Comparable<? super V>>
TAbstractRichIterable. maxBy(Function<? super T,? extends V> function)
<V extends Comparable<? super V>>
TUnmodifiableRichIterable. maxBy(Function<? super T,? extends V> function)
<V extends Comparable<? super V>>
TAbstractRichIterable. minBy(Function<? super T,? extends V> function)
<V extends Comparable<? super V>>
TUnmodifiableRichIterable. minBy(Function<? super T,? extends V> function)
<V> ObjectDoubleMap<V>
UnmodifiableRichIterable. sumByDouble(Function<? super T,? extends V> groupBy, DoubleFunction<? super T> function)
<V> ObjectDoubleMap<V>
UnmodifiableRichIterable. sumByFloat(Function<? super T,? extends V> groupBy, FloatFunction<? super T> function)
<V> ObjectLongMap<V>
UnmodifiableRichIterable. sumByInt(Function<? super T,? extends V> groupBy, IntFunction<? super T> function)
<V> ObjectLongMap<V>
UnmodifiableRichIterable. sumByLong(Function<? super T,? extends V> groupBy, LongFunction<? super T> function)
<K, V> MutableBiMap<K,V>
AbstractRichIterable. toBiMap(Function<? super T,? extends K> keyFunction, Function<? super T,? extends V> valueFunction)
<NK, NV> MutableBiMap<NK,NV>
UnmodifiableRichIterable. toBiMap(Function<? super T,? extends NK> keyFunction, Function<? super T,? extends NV> valueFunction)
<K, V> MutableMap<K,V>
AbstractRichIterable. toMap(Function<? super T,? extends K> keyFunction, Function<? super T,? extends V> valueFunction)
<NK, NV> MutableMap<NK,NV>
UnmodifiableRichIterable. toMap(Function<? super T,? extends NK> keyFunction, Function<? super T,? extends NV> valueFunction)
<NK, NV, R extends Map<NK, NV>>
RUnmodifiableRichIterable. toMap(Function<? super T,? extends NK> keyFunction, Function<? super T,? extends NV> valueFunction, R target)
<V extends Comparable<? super V>>
MutableSortedBag<T>AbstractRichIterable. toSortedBagBy(Function<? super T,? extends V> function)
<V extends Comparable<? super V>>
MutableSortedBag<T>UnmodifiableRichIterable. toSortedBagBy(Function<? super T,? extends V> function)
<V extends Comparable<? super V>>
MutableList<T>AbstractRichIterable. toSortedListBy(Function<? super T,? extends V> function)
<V extends Comparable<? super V>>
MutableList<T>UnmodifiableRichIterable. toSortedListBy(Function<? super T,? extends V> function)
<K, V> MutableSortedMap<K,V>
AbstractRichIterable. toSortedMap(Comparator<? super K> comparator, Function<? super T,? extends K> keyFunction, Function<? super T,? extends V> valueFunction)
<K, V> MutableSortedMap<K,V>
AbstractRichIterable. toSortedMap(Function<? super T,? extends K> keyFunction, Function<? super T,? extends V> valueFunction)
<NK, NV> MutableSortedMap<NK,NV>
UnmodifiableRichIterable. toSortedMap(Comparator<? super NK> comparator, Function<? super T,? extends NK> keyFunction, Function<? super T,? extends NV> valueFunction)
<NK, NV> MutableSortedMap<NK,NV>
UnmodifiableRichIterable. toSortedMap(Function<? super T,? extends NK> keyFunction, Function<? super T,? extends NV> valueFunction)
<KK extends Comparable<? super KK>, K, V>
MutableSortedMap<K,V>AbstractRichIterable. toSortedMapBy(Function<? super K,KK> sortBy, Function<? super T,? extends K> keyFunction, Function<? super T,? extends V> valueFunction)
<KK extends Comparable<? super KK>, NK, NV>
MutableSortedMap<NK,NV>UnmodifiableRichIterable. toSortedMapBy(Function<? super NK,KK> sortBy, Function<? super T,? extends NK> keyFunction, Function<? super T,? extends NV> valueFunction)
<V extends Comparable<? super V>>
MutableSortedSet<T>AbstractRichIterable. toSortedSetBy(Function<? super T,? extends V> function)
<V extends Comparable<? super V>>
MutableSortedSet<T>UnmodifiableRichIterable. toSortedSetBy(Function<? super T,? extends V> function)
-
Uses of Function in org.eclipse.collections.impl.bag
Methods in org.eclipse.collections.impl.bag with parameters of type Function Modifier and Type Method Description <V, R extends Collection<V>>
RAbstractBag. collect(Function<? super T,? extends V> function, R target)
<V, R extends Collection<V>>
RAbstractBag. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function, R target)
<V, R extends Collection<V>>
RAbstractBag. flatCollect(Function<? super T,? extends Iterable<V>> function, R target)
<R extends MutableBooleanCollection>
RAbstractBag. flatCollectBoolean(Function<? super T,? extends BooleanIterable> function, R target)
<R extends MutableByteCollection>
RAbstractBag. flatCollectByte(Function<? super T,? extends ByteIterable> function, R target)
<R extends MutableCharCollection>
RAbstractBag. flatCollectChar(Function<? super T,? extends CharIterable> function, R target)
<R extends MutableDoubleCollection>
RAbstractBag. flatCollectDouble(Function<? super T,? extends DoubleIterable> function, R target)
<R extends MutableFloatCollection>
RAbstractBag. flatCollectFloat(Function<? super T,? extends FloatIterable> function, R target)
<R extends MutableIntCollection>
RAbstractBag. flatCollectInt(Function<? super T,? extends IntIterable> function, R target)
<R extends MutableLongCollection>
RAbstractBag. flatCollectLong(Function<? super T,? extends LongIterable> function, R target)
<R extends MutableShortCollection>
RAbstractBag. flatCollectShort(Function<? super T,? extends ShortIterable> function, R target)
<V, R extends MutableMultimap<V, T>>
RAbstractBag. groupBy(Function<? super T,? extends V> function, R target)
<V, R extends MutableMultimap<V, T>>
RAbstractBag. groupByEach(Function<? super T,? extends Iterable<V>> function, R target)
-
Uses of Function in org.eclipse.collections.impl.bag.immutable
Methods in org.eclipse.collections.impl.bag.immutable with parameters of type Function Modifier and Type Method Description <K, V> ImmutableMap<K,V>
AbstractImmutableBagIterable. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
<V> ImmutableBag<V>
ImmutableArrayBag. collect(Function<? super T,? extends V> function)
<V> ImmutableBag<V>
ImmutableHashBag. collect(Function<? super T,? extends V> function)
<V, R extends Collection<V>>
RImmutableHashBag. collect(Function<? super T,? extends V> function, R target)
<V> ImmutableBag<V>
ImmutableArrayBag. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<V> ImmutableBag<V>
ImmutableHashBag. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<V, R extends Collection<V>>
RImmutableHashBag. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function, R target)
<V> ImmutableBag<V>
AbstractImmutableBag. countBy(Function<? super T,? extends V> function)
<V> ImmutableBag<V>
AbstractImmutableBagIterable. countBy(Function<? super T,? extends V> function)
<V> ImmutableBag<V>
AbstractImmutableBag. countByEach(Function<? super T,? extends Iterable<V>> function)
<V> ImmutableBag<V>
AbstractImmutableBagIterable. countByEach(Function<? super T,? extends Iterable<V>> function)
<V> ImmutableBag<V>
ImmutableArrayBag. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V> ImmutableBag<V>
ImmutableHashBag. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V, R extends Collection<V>>
RImmutableHashBag. flatCollect(Function<? super T,? extends Iterable<V>> function, R target)
<V> ImmutableBagMultimap<V,T>
ImmutableArrayBag. groupBy(Function<? super T,? extends V> function)
<V> ImmutableBagMultimap<V,T>
ImmutableHashBag. groupBy(Function<? super T,? extends V> function)
<V, R extends MutableMultimap<V, T>>
RImmutableHashBag. groupBy(Function<? super T,? extends V> function, R target)
<V> ImmutableBagMultimap<V,T>
ImmutableArrayBag. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> ImmutableBagMultimap<V,T>
ImmutableHashBag. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V, R extends MutableMultimap<V, T>>
RImmutableHashBag. groupByEach(Function<? super T,? extends Iterable<V>> function, R target)
<V> ImmutableMap<V,T>
AbstractImmutableBag. groupByUniqueKey(Function<? super T,? extends V> function)
<V> ImmutableMap<V,T>
ImmutableHashBag. groupByUniqueKey(Function<? super T,? extends V> function)
<V extends Comparable<? super V>>
TImmutableArrayBag. maxBy(Function<? super T,? extends V> function)
<V extends Comparable<? super V>>
TImmutableHashBag. maxBy(Function<? super T,? extends V> function)
<V extends Comparable<? super V>>
TImmutableArrayBag. minBy(Function<? super T,? extends V> function)
<V extends Comparable<? super V>>
TImmutableHashBag. minBy(Function<? super T,? extends V> function)
<V> ImmutableObjectDoubleMap<V>
AbstractImmutableBagIterable. sumByDouble(Function<? super T,? extends V> groupBy, DoubleFunction<? super T> function)
<V> ImmutableObjectDoubleMap<V>
AbstractImmutableBagIterable. sumByFloat(Function<? super T,? extends V> groupBy, FloatFunction<? super T> function)
<V> ImmutableObjectLongMap<V>
AbstractImmutableBagIterable. sumByInt(Function<? super T,? extends V> groupBy, IntFunction<? super T> function)
<V> ImmutableObjectLongMap<V>
AbstractImmutableBagIterable. sumByLong(Function<? super T,? extends V> groupBy, LongFunction<? super T> function)
<K, V> MutableMap<K,V>
ImmutableHashBag. toMap(Function<? super T,? extends K> keyFunction, Function<? super T,? extends V> valueFunction)
<K, V, R extends Map<K, V>>
RImmutableHashBag. toMap(Function<? super T,? extends K> keyFunction, Function<? super T,? extends V> valueFunction, R target)
<V extends Comparable<? super V>>
MutableSortedBag<T>ImmutableHashBag. toSortedBagBy(Function<? super T,? extends V> function)
<K, V> MutableSortedMap<K,V>
ImmutableHashBag. toSortedMap(Comparator<? super K> comparator, Function<? super T,? extends K> keyFunction, Function<? super T,? extends V> valueFunction)
<K, V> MutableSortedMap<K,V>
ImmutableHashBag. toSortedMap(Function<? super T,? extends K> keyFunction, Function<? super T,? extends V> valueFunction)
<KK extends Comparable<? super KK>, K, V>
MutableSortedMap<K,V>ImmutableHashBag. toSortedMapBy(Function<? super K,KK> sortBy, Function<? super T,? extends K> keyFunction, Function<? super T,? extends V> valueFunction)
-
Uses of Function in org.eclipse.collections.impl.bag.mutable
Methods in org.eclipse.collections.impl.bag.mutable with parameters of type Function Modifier and Type Method Description <K, V> MutableMap<K,V>
AbstractMutableBagIterable. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
<V> MutableBag<V>
AbstractMutableBag. collect(Function<? super T,? extends V> function)
<V> MutableBag<V>
MultiReaderHashBag. collect(Function<? super T,? extends V> function)
<V> MutableBag<V>
SynchronizedBag. collect(Function<? super T,? extends V> function)
<V> MutableBag<V>
UnmodifiableBag. collect(Function<? super T,? extends V> function)
<V> MutableBag<V>
AbstractMutableBag. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<V> MutableBag<V>
MultiReaderHashBag. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<V> MutableBag<V>
SynchronizedBag. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<V> MutableBag<V>
UnmodifiableBag. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<V> MutableBag<V>
AbstractMutableBag. countBy(Function<? super T,? extends V> function)
<V> MutableBag<V>
AbstractMutableBagIterable. countBy(Function<? super T,? extends V> function)
<V> MutableBag<V>
AbstractMutableBag. countByEach(Function<? super T,? extends Iterable<V>> function)
<V> MutableBag<V>
AbstractMutableBagIterable. countByEach(Function<? super T,? extends Iterable<V>> function)
<V> MutableBag<V>
AbstractMutableBag. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V> MutableBag<V>
MultiReaderHashBag. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V> MutableBag<V>
SynchronizedBag. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V> MutableBag<V>
UnmodifiableBag. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V> HashBagMultimap<V,T>
AbstractHashBag. groupBy(Function<? super T,? extends V> function)
<V> MutableBagMultimap<V,T>
MultiReaderHashBag. groupBy(Function<? super T,? extends V> function)
<V> MutableBagMultimap<V,T>
SynchronizedBag. groupBy(Function<? super T,? extends V> function)
<V> MutableBagMultimap<V,T>
UnmodifiableBag. groupBy(Function<? super T,? extends V> function)
<V> HashBagMultimap<V,T>
AbstractHashBag. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> MutableBagMultimap<V,T>
MultiReaderHashBag. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> MutableBagMultimap<V,T>
SynchronizedBag. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> MutableBagMultimap<V,T>
UnmodifiableBag. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> MutableMap<V,T>
AbstractMutableBagIterable. groupByUniqueKey(Function<? super T,? extends V> function)
<V> MutableMap<V,T>
MultiReaderHashBag. groupByUniqueKey(Function<? super T,? extends V> function)
<V extends Comparable<? super V>>
TAbstractMutableBagIterable. maxBy(Function<? super T,? extends V> function)
<V extends Comparable<? super V>>
TAbstractMutableBagIterable. minBy(Function<? super T,? extends V> function)
<V> MutableObjectDoubleMap<V>
AbstractMutableBagIterable. sumByDouble(Function<? super T,? extends V> groupBy, DoubleFunction<? super T> function)
<V> MutableObjectDoubleMap<V>
AbstractMutableBagIterable. sumByFloat(Function<? super T,? extends V> groupBy, FloatFunction<? super T> function)
<V> MutableObjectLongMap<V>
AbstractMutableBagIterable. sumByInt(Function<? super T,? extends V> groupBy, IntFunction<? super T> function)
<V> MutableObjectLongMap<V>
AbstractMutableBagIterable. sumByLong(Function<? super T,? extends V> groupBy, LongFunction<? super T> function)
-
Uses of Function in org.eclipse.collections.impl.bag.sorted.mutable
Methods in org.eclipse.collections.impl.bag.sorted.mutable with parameters of type Function Modifier and Type Method Description <V> MutableList<V>
AbstractMutableSortedBag. collect(Function<? super T,? extends V> function)
<V> MutableList<V>
SynchronizedSortedBag. collect(Function<? super T,? extends V> function)
<V> MutableList<V>
UnmodifiableSortedBag. collect(Function<? super T,? extends V> function)
<V> MutableList<V>
AbstractMutableSortedBag. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<V> MutableList<V>
SynchronizedSortedBag. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<V> MutableList<V>
UnmodifiableSortedBag. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<V> MutableBag<V>
AbstractMutableSortedBag. countBy(Function<? super T,? extends V> function)
<V> MutableBag<V>
AbstractMutableSortedBag. countByEach(Function<? super T,? extends Iterable<V>> function)
<V> MutableList<V>
AbstractMutableSortedBag. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V> MutableList<V>
SynchronizedSortedBag. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V> MutableList<V>
UnmodifiableSortedBag. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V> MutableSortedBagMultimap<V,T>
SynchronizedSortedBag. groupBy(Function<? super T,? extends V> function)
<V> TreeBagMultimap<V,T>
TreeBag. groupBy(Function<? super T,? extends V> function)
<V> MutableSortedBagMultimap<V,T>
UnmodifiableSortedBag. groupBy(Function<? super T,? extends V> function)
<V> MutableSortedBagMultimap<V,T>
SynchronizedSortedBag. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> TreeBagMultimap<V,T>
TreeBag. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V> MutableSortedBagMultimap<V,T>
UnmodifiableSortedBag. groupByEach(Function<? super T,? extends Iterable<V>> function)
-
Uses of Function in org.eclipse.collections.impl.bimap
Methods in org.eclipse.collections.impl.bimap with parameters of type Function Modifier and Type Method Description <VV, R extends Collection<VV>>
RAbstractBiMap. collect(Function<? super V,? extends VV> function, R target)
<VV, R extends Collection<VV>>
RAbstractBiMap. collectIf(Predicate<? super V> predicate, Function<? super V,? extends VV> function, R target)
<VV, R extends Collection<VV>>
RAbstractBiMap. flatCollect(Function<? super V,? extends Iterable<VV>> function, R target)
<R extends MutableBooleanCollection>
RAbstractBiMap. flatCollectBoolean(Function<? super V,? extends BooleanIterable> function, R target)
<R extends MutableByteCollection>
RAbstractBiMap. flatCollectByte(Function<? super V,? extends ByteIterable> function, R target)
<R extends MutableCharCollection>
RAbstractBiMap. flatCollectChar(Function<? super V,? extends CharIterable> function, R target)
<R extends MutableDoubleCollection>
RAbstractBiMap. flatCollectDouble(Function<? super V,? extends DoubleIterable> function, R target)
<R extends MutableFloatCollection>
RAbstractBiMap. flatCollectFloat(Function<? super V,? extends FloatIterable> function, R target)
<R extends MutableIntCollection>
RAbstractBiMap. flatCollectInt(Function<? super V,? extends IntIterable> function, R target)
<R extends MutableLongCollection>
RAbstractBiMap. flatCollectLong(Function<? super V,? extends LongIterable> function, R target)
<R extends MutableShortCollection>
RAbstractBiMap. flatCollectShort(Function<? super V,? extends ShortIterable> function, R target)
<P> V
AbstractBiMap. getIfAbsentWith(K key, Function<? super P,? extends V> function, P parameter)
<VV, R extends MutableMultimap<VV, V>>
RAbstractBiMap. groupBy(Function<? super V,? extends VV> function, R target)
<VV, R extends MutableMultimap<VV, V>>
RAbstractBiMap. groupByEach(Function<? super V,? extends Iterable<VV>> function, R target)
<VV, R extends MutableMapIterable<VV, V>>
RAbstractBiMap. groupByUniqueKey(Function<? super V,? extends VV> function, R target)
<A> A
AbstractBiMap. ifPresentApply(K key, Function<? super V,? extends A> function)
<VV extends Comparable<? super VV>>
VAbstractBiMap. maxBy(Function<? super V,? extends VV> function)
<VV extends Comparable<? super VV>>
VAbstractBiMap. minBy(Function<? super V,? extends VV> function)
<NK, NV> MutableBiMap<NK,NV>
AbstractBiMap. toBiMap(Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)
<NK, NV> MutableMap<NK,NV>
AbstractBiMap. toMap(Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)
<NK, NV, R extends Map<NK, NV>>
RAbstractBiMap. toMap(Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction, R target)
<VV extends Comparable<? super VV>>
MutableSortedBag<V>AbstractBiMap. toSortedBagBy(Function<? super V,? extends VV> function)
<VV extends Comparable<? super VV>>
MutableList<V>AbstractBiMap. toSortedListBy(Function<? super V,? extends VV> function)
<NK, NV> MutableSortedMap<NK,NV>
AbstractBiMap. toSortedMap(Comparator<? super NK> comparator, Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)
<NK, NV> MutableSortedMap<NK,NV>
AbstractBiMap. toSortedMap(Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)
<KK extends Comparable<? super KK>, NK, NV>
MutableSortedMap<NK,NV>AbstractBiMap. toSortedMapBy(Function<? super NK,KK> sortBy, Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)
<VV extends Comparable<? super VV>>
MutableSortedSet<V>AbstractBiMap. toSortedSetBy(Function<? super V,? extends VV> function)
-
Uses of Function in org.eclipse.collections.impl.bimap.immutable
Methods in org.eclipse.collections.impl.bimap.immutable with parameters of type Function 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> ImmutableMap<K2,V2>
AbstractImmutableBiMap. aggregateInPlaceBy(Function<? super V,? extends K2> groupBy, Function0<? extends V2> zeroValueFactory, Procedure2<? super V2,? super V> mutatingAggregator)
<VV> ImmutableBag<VV>
AbstractImmutableBiMap. collect(Function<? super V,? extends VV> function)
<VV> ImmutableBag<VV>
AbstractImmutableBiMap. collectIf(Predicate<? super V> predicate, Function<? super V,? extends VV> function)
<VV> ImmutableBag<VV>
AbstractImmutableBiMap. flatCollect(Function<? super V,? extends Iterable<VV>> function)
<VV> ImmutableSetMultimap<VV,V>
AbstractImmutableBiMap. groupBy(Function<? super V,? extends VV> function)
<VV> ImmutableSetMultimap<VV,V>
AbstractImmutableBiMap. groupByEach(Function<? super V,? extends Iterable<VV>> function)
<VV> ImmutableBiMap<VV,V>
AbstractImmutableBiMap. groupByUniqueKey(Function<? super V,? extends VV> function)
<V1> ImmutableObjectDoubleMap<V1>
AbstractImmutableBiMap. sumByDouble(Function<? super V,? extends V1> groupBy, DoubleFunction<? super V> function)
<V1> ImmutableObjectDoubleMap<V1>
AbstractImmutableBiMap. sumByFloat(Function<? super V,? extends V1> groupBy, FloatFunction<? super V> function)
<V1> ImmutableObjectLongMap<V1>
AbstractImmutableBiMap. sumByInt(Function<? super V,? extends V1> groupBy, IntFunction<? super V> function)
<V1> ImmutableObjectLongMap<V1>
AbstractImmutableBiMap. sumByLong(Function<? super V,? extends V1> groupBy, LongFunction<? super V> function)
-
Uses of Function in org.eclipse.collections.impl.bimap.mutable
Methods in org.eclipse.collections.impl.bimap.mutable with parameters of type Function Modifier and Type Method Description <K1, V1, V2> MutableMap<K1,V2>
UnmodifiableBiMap. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
<K, V1> MutableMap<K,V1>
UnmodifiableBiMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends V1> zeroValueFactory, Function2<? super V1,? super V,? extends V1> nonMutatingAggregator)
<K, V1> MutableMap<K,V1>
UnmodifiableBiMap. aggregateInPlaceBy(Function<? super V,? extends K> groupBy, Function0<? extends V1> zeroValueFactory, Procedure2<? super V1,? super V> mutatingAggregator)
<V1> RichIterable<V1>
UnmodifiableBiMap. collect(Function<? super V,? extends V1> function)
<VV, R extends Collection<VV>>
RUnmodifiableBiMap. collect(Function<? super V,? extends VV> function, R target)
<V1> RichIterable<V1>
UnmodifiableBiMap. collectIf(Predicate<? super V> predicate, Function<? super V,? extends V1> function)
<VV, R extends Collection<VV>>
RUnmodifiableBiMap. collectIf(Predicate<? super V> predicate, Function<? super V,? extends VV> function, R target)
<V1> RichIterable<V1>
UnmodifiableBiMap. flatCollect(Function<? super V,? extends Iterable<V1>> function)
<VV, R extends Collection<VV>>
RUnmodifiableBiMap. flatCollect(Function<? super V,? extends Iterable<VV>> function, R target)
<R extends MutableBooleanCollection>
RUnmodifiableBiMap. flatCollectBoolean(Function<? super V,? extends BooleanIterable> function, R target)
<R extends MutableByteCollection>
RUnmodifiableBiMap. flatCollectByte(Function<? super V,? extends ByteIterable> function, R target)
<R extends MutableCharCollection>
RUnmodifiableBiMap. flatCollectChar(Function<? super V,? extends CharIterable> function, R target)
<R extends MutableDoubleCollection>
RUnmodifiableBiMap. flatCollectDouble(Function<? super V,? extends DoubleIterable> function, R target)
<R extends MutableFloatCollection>
RUnmodifiableBiMap. flatCollectFloat(Function<? super V,? extends FloatIterable> function, R target)
<R extends MutableIntCollection>
RUnmodifiableBiMap. flatCollectInt(Function<? super V,? extends IntIterable> function, R target)
<R extends MutableLongCollection>
RUnmodifiableBiMap. flatCollectLong(Function<? super V,? extends LongIterable> function, R target)
<R extends MutableShortCollection>
RUnmodifiableBiMap. flatCollectShort(Function<? super V,? extends ShortIterable> function, R target)
<P> V
UnmodifiableBiMap. getIfAbsentPutWith(K key, Function<? super P,? extends V> function, P parameter)
V
UnmodifiableBiMap. getIfAbsentPutWithKey(K key, Function<? super K,? extends V> function)
<P> V
UnmodifiableBiMap. getIfAbsentWith(K key, Function<? super P,? extends V> function, P parameter)
<V1> MutableSetMultimap<V1,V>
SynchronizedBiMap. groupBy(Function<? super V,? extends V1> function)
<V1> MutableSetMultimap<V1,V>
UnmodifiableBiMap. groupBy(Function<? super V,? extends V1> function)
<VV, R extends MutableMultimap<VV, V>>
RUnmodifiableBiMap. groupBy(Function<? super V,? extends VV> function, R target)
<V1> MutableSetMultimap<V1,V>
SynchronizedBiMap. groupByEach(Function<? super V,? extends Iterable<V1>> function)
<V1> MutableSetMultimap<V1,V>
UnmodifiableBiMap. groupByEach(Function<? super V,? extends Iterable<V1>> function)
<VV, R extends MutableMultimap<VV, V>>
RUnmodifiableBiMap. groupByEach(Function<? super V,? extends Iterable<VV>> function, R target)
<VV> MutableBiMap<VV,V>
SynchronizedBiMap. groupByUniqueKey(Function<? super V,? extends VV> function)
<VV> MutableBiMap<VV,V>
UnmodifiableBiMap. groupByUniqueKey(Function<? super V,? extends VV> function)
<VV, R extends MutableMapIterable<VV, V>>
RUnmodifiableBiMap. groupByUniqueKey(Function<? super V,? extends VV> function, R target)
<A> A
UnmodifiableBiMap. ifPresentApply(K key, Function<? super V,? extends A> function)
<VV extends Comparable<? super VV>>
VUnmodifiableBiMap. maxBy(Function<? super V,? extends VV> function)
<VV extends Comparable<? super VV>>
VUnmodifiableBiMap. minBy(Function<? super V,? extends VV> function)
<V1> MutableObjectDoubleMap<V1>
UnmodifiableBiMap. sumByDouble(Function<? super V,? extends V1> groupBy, DoubleFunction<? super V> function)
<V1> MutableObjectDoubleMap<V1>
UnmodifiableBiMap. sumByFloat(Function<? super V,? extends V1> groupBy, FloatFunction<? super V> function)
<V1> MutableObjectLongMap<V1>
UnmodifiableBiMap. sumByInt(Function<? super V,? extends V1> groupBy, IntFunction<? super V> function)
<V1> MutableObjectLongMap<V1>
UnmodifiableBiMap. sumByLong(Function<? super V,? extends V1> groupBy, LongFunction<? super V> function)
<NK, NV> MutableBiMap<NK,NV>
UnmodifiableBiMap. toBiMap(Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)
<NK, NV> MutableMap<NK,NV>
UnmodifiableBiMap. toMap(Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)
<NK, NV, R extends Map<NK, NV>>
RUnmodifiableBiMap. toMap(Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction, R target)
<VV extends Comparable<? super VV>>
MutableSortedBag<V>UnmodifiableBiMap. toSortedBagBy(Function<? super V,? extends VV> function)
<VV extends Comparable<? super VV>>
MutableList<V>UnmodifiableBiMap. toSortedListBy(Function<? super V,? extends VV> function)
<NK, NV> MutableSortedMap<NK,NV>
UnmodifiableBiMap. toSortedMap(Comparator<? super NK> comparator, Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)
<NK, NV> MutableSortedMap<NK,NV>
UnmodifiableBiMap. toSortedMap(Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)
<KK extends Comparable<? super KK>, NK, NV>
MutableSortedMap<NK,NV>UnmodifiableBiMap. toSortedMapBy(Function<? super NK,KK> sortBy, Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)
<VV extends Comparable<? super VV>>
MutableSortedSet<V>UnmodifiableBiMap. toSortedSetBy(Function<? super V,? extends VV> function)
V
UnmodifiableBiMap. updateValue(K key, Function0<? extends V> factory, Function<? super V,? extends V> function)
-
Uses of Function in org.eclipse.collections.impl.block.comparator
Constructors in org.eclipse.collections.impl.block.comparator with parameters of type Function Constructor Description FunctionComparator(Function<? super T,? extends V> function, Comparator<V> comparator)
-
Uses of Function in org.eclipse.collections.impl.block.factory
Classes in org.eclipse.collections.impl.block.factory that implement Function Modifier and Type Class Description static class
Functions.FunctionChain<T1,T2,T3>
static class
Functions.SizeFunction
Methods in org.eclipse.collections.impl.block.factory that return Function Modifier and Type Method Description static Function<String,String>
StringFunctions. append(String valueToAppend)
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. cast(Function<T,V> function)
Allows a Java 8 lambda and method reference to be used in a method taking a Function as a parameter without any ambiguity.static Function<String,Class<?>>
Functions. classForName()
static Function<String,Character>
StringFunctions. firstLetter()
static <T1, T2, I extends Iterable<T2>>
Function<T1,I>Functions. firstNotEmptyCollectionValue(Function<T1,I>... functions)
static <T> Function<T,String>
Functions. firstNotEmptyStringValue(Function<T,String>... functions)
static <T, V> Function<T,V>
Functions. firstNotNullValue(Function<T,V>... functions)
static <V1> Function<Pair<V1,?>,V1>
Functions. firstOfPair()
static <K, V> Function<K,RichIterable<V>>
MultimapFunctions. get(Multimap<K,V> multimap)
static Function<Double,Double>
Functions. getDoublePassThru()
static Function<Object,Boolean>
Functions. getFalse()
static <T, V> Function<T,V>
Functions. getFixedValue(V value)
static Function<Integer,Integer>
Functions. getIntegerPassThru()
static <K> Function<Map.Entry<K,?>,K>
Functions. getKeyFunction()
static Function<Long,Long>
Functions. getLongPassThru()
static Function<Number,Double>
Functions. getMathSinFunction()
static Function<Object,String>
Functions. getNullSafeToString(String defaultValue)
static Function<Number,Number>
Functions. getNumberPassThru()
static <T> Function<T,T>
Functions. getPassThru()
Alias for identity().static Function<Iterable<?>,Integer>
Functions. getSizeOf()
static Function<String,String>
Functions. getStringPassThru()
static Function<String,Integer>
Functions. getStringToInteger()
static Function<String,String>
Functions. getStringTrim()
static Function<Object,Class<?>>
Functions. getToClass()
static Function<Object,String>
Functions. getToString()
static Function<Object,Boolean>
Functions. getTrue()
static <V> Function<Map.Entry<?,V>,V>
Functions. getValueFunction()
static <T> Function<T,T>
Functions. identity()
static <T, V> Function<T,V>
Functions. ifElse(Predicate<? super T> predicate, Function<? super T,? extends V> trueFunction, Function<? super T,? extends V> falseFunction)
static <T, V> Function<T,V>
Functions. ifTrue(Predicate<? super T> predicate, Function<? super T,? extends V> function)
static <T, V> Function<T,V>
Functions. nullSafe(Function<? super T,? extends V> function)
static <T, V> Function<T,V>
Functions. nullSafe(Function<? super T,? extends V> function, V nullValue)
static <T, V1, V2> Function<T,Pair<V1,V2>>
Functions. pair(Function<? super T,V1> function1, Function<? super T,V2> function2)
static Function<String,String>
StringFunctions. prepend(String valueToPrepend)
static <V2> Function<Pair<?,V2>,V2>
Functions. secondOfPair()
static Function<Integer,Integer>
Functions. squaredInteger()
static Function<String,String>
StringFunctions. subString(int beginIndex, int endIndex)
static <S, T> Function<Pair<S,T>,Pair<T,S>>
Functions. swappedPair()
Swap the input pair and return the swapped pair.static <T, V> Function<T,V>
Functions. synchronizedEach(Function<T,V> function)
static <T, V> Function<T,V>
Functions. throwing(ThrowingFunction<T,V> throwingFunction)
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 RuntimeException, wrapping the checked exception that is the cause.static <T, V> Function<T,V>
Functions. throwing(ThrowingFunction<T,V> throwingFunction, Function2<T,? super Throwable,? extends RuntimeException> rethrow)
Allows a lambda or anonymous inner class that needs to throw a checked exception to be safely wrapped as a Function that will throw a user specified RuntimeException based on the provided function.static Function<String,Integer>
StringFunctions. toInteger()
static Function<String,String>
StringFunctions. toLowerCase()
static Function<String,String>
StringFunctions. toUpperCase()
static Function<String,String>
StringFunctions. trim()
Returns a function that returns a copy of aString
, with leading and trailing whitespace omitted.static <T, V> Function<T,V>
Functions. withDefault(Function<? super T,? extends V> function, V defaultValue)
Methods in org.eclipse.collections.impl.block.factory with parameters of type Function Modifier and Type Method Description static <T, V> Predicates<T>
Predicates. attributeAllSatisfy(Function<? super T,? extends Iterable<V>> function, Predicate<? super V> predicate)
static <T, V> Predicates<T>
Predicates. attributeAnySatisfy(Function<? super T,? extends Iterable<V>> function, Predicate<? super V> predicate)
static <T, V extends Comparable<? super V>>
Predicates<T>Predicates. attributeBetweenExclusive(Function<? super T,? extends V> function, V from, V to)
static <T, V extends Comparable<? super V>>
Predicates<T>Predicates. attributeBetweenInclusive(Function<? super T,? extends V> function, V from, V to)
static <T, V extends Comparable<? super V>>
Predicates<T>Predicates. attributeBetweenInclusiveFrom(Function<? super T,? extends V> function, V from, V to)
static <T, V extends Comparable<? super V>>
Predicates<T>Predicates. attributeBetweenInclusiveTo(Function<? super T,? extends V> function, V from, V to)
static <T> Predicates<T>
Predicates. attributeEqual(Function<? super T,?> function, Object object)
static <T> Predicates2<T,Object>
Predicates2. attributeEqual(Function<? super T,?> function)
static <T, V extends Comparable<? super V>>
Predicates<T>Predicates. attributeGreaterThan(Function<? super T,? extends V> function, V object)
static <T, P extends Comparable<? super P>>
Predicates2<T,P>Predicates2. attributeGreaterThan(Function<? super T,? extends P> function)
static <T, V extends Comparable<? super V>>
Predicates<T>Predicates. attributeGreaterThanOrEqualTo(Function<? super T,? extends V> function, V object)
static <T, P extends Comparable<? super P>>
Predicates2<T,P>Predicates2. attributeGreaterThanOrEqualTo(Function<? super T,? extends P> function)
static <T> Predicates<T>
Predicates. attributeIn(Function<? super T,?> function, Iterable<?> iterable)
Creates a predicate which returns true if an attribute selected from an object passed to accept method is contained in the iterable.static <T> Predicates2<T,Iterable<?>>
Predicates2. attributeIn(Function<T,?> function)
static <T> Predicates<T>
IntegerPredicates. attributeIsEven(Function<? super T,Integer> function)
static <T> Predicates<T>
LongPredicates. attributeIsEven(Function<? super T,Long> function)
static <T> Predicates<T>
IntegerPredicates. attributeIsNegative(Function<? super T,Integer> function)
static <T> Predicates<T>
LongPredicates. attributeIsNegative(Function<? super T,Long> function)
static <T> Predicates<T>
Predicates. attributeIsNull(Function<? super T,?> function)
static <T> Predicates<T>
IntegerPredicates. attributeIsOdd(Function<? super T,Integer> function)
static <T> Predicates<T>
LongPredicates. attributeIsOdd(Function<? super T,Long> function)
static <T> Predicates<T>
IntegerPredicates. attributeIsPositive(Function<? super T,Integer> function)
static <T> Predicates<T>
LongPredicates. attributeIsPositive(Function<? super T,Long> function)
static <T> Predicates<T>
IntegerPredicates. attributeIsZero(Function<? super T,Integer> function)
static <T> Predicates<T>
LongPredicates. attributeIsZero(Function<? super T,Long> function)
static <T, V extends Comparable<? super V>>
Predicates<T>Predicates. attributeLessThan(Function<? super T,? extends V> function, V object)
static <T, P extends Comparable<? super P>>
Predicates2<T,P>Predicates2. attributeLessThan(Function<? super T,? extends P> function)
static <T, V extends Comparable<? super V>>
Predicates<T>Predicates. attributeLessThanOrEqualTo(Function<? super T,? extends V> function, V object)
static <T, P extends Comparable<? super P>>
Predicates2<T,P>Predicates2. attributeLessThanOrEqualTo(Function<? super T,? extends P> function)
static <T, V> Predicates<T>
Predicates. attributeNoneSatisfy(Function<? super T,? extends Iterable<V>> function, Predicate<? super V> predicate)
static <T> Predicates<T>
Predicates. attributeNotEqual(Function<? super T,?> function, Object object)
static <T> Predicates2<T,Object>
Predicates2. attributeNotEqual(Function<? super T,?> function)
static <T> Predicates<T>
Predicates. attributeNotIn(Function<? super T,?> function, Iterable<?> iterable)
Creates a predicate which returns true if an attribute selected from an object passed to accept method is not contained in the iterable.static <T> Predicates2<T,Iterable<?>>
Predicates2. attributeNotIn(Function<T,?> function)
static <T> Predicates<T>
Predicates. attributeNotNull(Function<? super T,?> function)
static <T, V> Predicates<T>
Predicates. attributePredicate(Function<? super T,? extends V> function, Predicate<? super V> predicate)
static <T1, T2> ObjectIntProcedure<T1>
Functions. bind(ObjectIntProcedure<? super T2> delegate, Function<? super T1,T2> function)
Bind the input of a ObjectIntProcedure to the result of an function, returning a new ObjectIntProcedure.static <T1, T2> Procedure<T1>
Functions. bind(Procedure<? super T2> delegate, Function<? super T1,T2> function)
Bind the input of a Procedure to the result of an function, returning a new Procedure.static <T1, T2, T3> Procedure2<T1,T3>
Functions. bind(Procedure2<? super T2,T3> delegate, Function<? super T1,T2> function)
Bind the input of the first argument of a Procedure2 to the result of an function, returning a new Procedure2.static <T, V extends Comparable<? super V>>
SerializableComparator<T>Comparators. byFunction(Function<? super T,? extends V> function)
static <T, V> SerializableComparator<T>
Comparators. byFunction(Function<? super T,? extends V> function, Comparator<V> comparator)
static <T, V extends Comparable<? super V>>
SerializableComparator<T>Comparators. byFunctionNullsFirst(Function<? super T,? extends V> function)
static <T, V extends Comparable<? super V>>
SerializableComparator<T>Comparators. byFunctionNullsLast(Function<? super T,? extends V> function)
static <T extends Comparable<? super T>, V>
CaseFunction<T,V>Functions. caseDefault(Function<? super T,? extends V> defaultFunction)
static <T extends Comparable<? super T>, V>
CaseFunction<T,V>Functions. caseDefault(Function<? super T,? extends V> defaultFunction, Predicate<? super T> predicate, Function<? super T,? extends V> function)
static <T, V> Function<T,V>
Functions. cast(Function<T,V> function)
Allows a Java 8 lambda and method reference to be used in a method taking a Function as a parameter without any ambiguity.static <T1, T2, T3> Functions.FunctionChain<T1,T2,T3>
Functions. chain(Function<T1,T2> function1, Function<? super T2,T3> function2)
<T4> Functions.FunctionChain<T1,T3,T4>
Functions.FunctionChain. chain(Function<? super T3,T4> function)
static <T1, T2> Functions.BooleanFunctionChain<T1,T2>
Functions. chainBoolean(Function<T1,T2> function1, BooleanFunction<? super T2> function2)
static <T1, T2> Functions.ByteFunctionChain<T1,T2>
Functions. chainByte(Function<T1,T2> function1, ByteFunction<? super T2> function2)
static <T1, T2> Functions.CharFunctionChain<T1,T2>
Functions. chainChar(Function<T1,T2> function1, CharFunction<? super T2> function2)
static <T1, T2> Functions.DoubleFunctionChain<T1,T2>
Functions. chainDouble(Function<T1,T2> function1, DoubleFunction<? super T2> function2)
static <T1, T2> Functions.FloatFunctionChain<T1,T2>
Functions. chainFloat(Function<T1,T2> function1, FloatFunction<? super T2> function2)
static <T1, T2> Functions.IntFunctionChain<T1,T2>
Functions. chainInt(Function<T1,T2> function1, IntFunction<? super T2> function2)
static <T1, T2> Functions.LongFunctionChain<T1,T2>
Functions. chainLong(Function<T1,T2> function1, LongFunction<? super T2> function2)
static <T1, T2> Functions.ShortFunctionChain<T1,T2>
Functions. chainShort(Function<T1,T2> function1, ShortFunction<? super T2> function2)
static <T1, T2, I extends Iterable<T2>>
Function<T1,I>Functions. firstNotEmptyCollectionValue(Function<T1,I>... functions)
static <T> Function<T,String>
Functions. firstNotEmptyStringValue(Function<T,String>... functions)
static <T, V> Function<T,V>
Functions. firstNotNullValue(Function<T,V>... functions)
static <T, V, P> Function2<T,P,V>
Functions2. fromFunction(Function<? super T,? extends V> function)
static <T, V> HashingStrategy<T>
HashingStrategies. fromFunction(Function<? super T,? extends V> function)
static <T, V extends Comparable<? super V>>
SerializableComparator<T>Comparators. fromFunctions(Function<? super T,? extends V> one)
static <T, V1 extends Comparable<? super V1>, V2 extends Comparable<? super V2>>
SerializableComparator<T>Comparators. fromFunctions(Function<? super T,? extends V1> one, Function<? super T,? extends V2> two)
static <T, V1 extends Comparable<? super V1>, V2 extends Comparable<? super V2>, V3 extends Comparable<? super V3>>
SerializableComparator<T>Comparators. fromFunctions(Function<? super T,? extends V1> one, Function<? super T,? extends V2> two, Function<? super T,? extends V3> three)
static <T, V1, V2> HashingStrategy<T>
HashingStrategies. fromFunctions(Function<? super T,? extends V1> one, Function<? super T,? extends V2> two)
static <T, V1, V2, V3>
HashingStrategy<T>HashingStrategies. fromFunctions(Function<? super T,? extends V1> one, Function<? super T,? extends V2> two, Function<? super T,? extends V3> three)
static <T, V> Function<T,V>
Functions. ifElse(Predicate<? super T> predicate, Function<? super T,? extends V> trueFunction, Function<? super T,? extends V> falseFunction)
static <T> Predicates<T>
Predicates. ifFalse(Function<? super T,Boolean> function)
static <T, V> Function<T,V>
Functions. ifTrue(Predicate<? super T> predicate, Function<? super T,? extends V> function)
static <T> Predicates<T>
Predicates. ifTrue(Function<? super T,Boolean> function)
static <T, V extends Comparable<? super V>>
Function2<T,T,T>Functions2. maxBy(Function<? super T,? extends V> function)
static <T, V extends Comparable<? super V>>
Function2<T,T,T>Functions2. minBy(Function<? super T,? extends V> function)
static <T, V> Function<T,V>
Functions. nullSafe(Function<? super T,? extends V> function)
static <T, V> Function<T,V>
Functions. nullSafe(Function<? super T,? extends V> function, V nullValue)
static <T, V> HashingStrategy<T>
HashingStrategies. nullSafeFromFunction(Function<? super T,? extends V> function)
static <T, V1, V2> Function<T,Pair<V1,V2>>
Functions. pair(Function<? super T,V1> function1, Function<? super T,V2> function2)
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> Function<T,V>
Functions. synchronizedEach(Function<T,V> function)
static <T> Function0<T>
Functions0. throwing(ThrowingFunction0<T> throwingFunction0, Function<? super Throwable,? extends RuntimeException> rethrow)
Allows a lambda or anonymous inner class that needs to throw a checked exception to be safely wrapped as a Function0 that will throw a user specified RuntimeException based on the provided function.static <T, V> Function<T,V>
Functions. withDefault(Function<? super T,? extends V> function, V defaultValue)
-
Uses of Function in org.eclipse.collections.impl.block.function
Classes in org.eclipse.collections.impl.block.function that implement Function Modifier and Type Class Description class
CaseFunction<T extends Comparable<? super T>,V>
class
IfFunction<T,V>
Methods in org.eclipse.collections.impl.block.function with parameters of type Function Modifier and Type Method Description CaseFunction<T,V>
CaseFunction. addCase(Predicate<? super T> predicate, Function<? super T,? extends V> function)
CaseFunction<T,V>
CaseFunction. setDefault(Function<? super T,? extends V> function)
Constructors in org.eclipse.collections.impl.block.function with parameters of type Function Constructor Description CaseFunction(Function<? super T,? extends V> newDefaultFunction)
IfFunction(Predicate<? super T> newPredicate, Function<? super T,? extends V> function)
IfFunction(Predicate<? super T> predicate, Function<? super T,? extends V> function, Function<? super T,? extends V> elseFunction)
-
Uses of Function in org.eclipse.collections.impl.block.function.checked
Classes in org.eclipse.collections.impl.block.function.checked that implement Function Modifier and Type Class Description class
CheckedFunction<T,V>
-
Uses of Function in org.eclipse.collections.impl.block.function.primitive
Classes in org.eclipse.collections.impl.block.function.primitive that implement Function Modifier and Type Class Description class
DoubleFunctionImpl<T>
DoubleFunctionImpl is an abstract implementation of the DoubleFunction interface which can be subclassed explicitly or as an anonymous inner class, without needing to override the valueOf method defined in Function.class
IntegerFunctionImpl<T>
IntegerFunctionImpl is an abstract implementation of the IntFunction interface which can be subclassed explicitly or as an anonymous inner class, without needing to override the valueOf method defined in Function.class
LongFunctionImpl<T>
LongFunctionImpl is an abstract implementation of the LongFunction interface which can be subclassed explicitly or as an anonymous inner class, without needing to override the valueOf method defined in Function. -
Uses of Function in org.eclipse.collections.impl.block.procedure
Methods in org.eclipse.collections.impl.block.procedure with parameters of type Function Modifier and Type Method Description static <K, V> MultimapEachPutProcedure<K,V>
MultimapEachPutProcedure. on(MutableMultimap<K,V> multimap, Function<? super V,? extends Iterable<K>> keyFunction)
static <K, V> MultimapPutProcedure<K,V>
MultimapPutProcedure. on(MutableMultimap<K,V> multimap, Function<? super V,? extends K> keyFunction)
Constructors in org.eclipse.collections.impl.block.procedure with parameters of type Function Constructor Description BiMapCollectProcedure(MutableBiMap<K,V> newMap, Function<? super T,? extends K> newKeyFunction, Function<? super T,? extends V> newValueFunction)
CollectIfProcedure(int taskSize, Function<? super T,? extends V> function, Predicate<? super T> predicate)
CollectIfProcedure(Collection<V> targetCollection, Function<? super T,? extends V> function, Predicate<? super T> predicate)
CollectProcedure(Function<? super T,? extends V> function, Collection<V> targetCollection)
FastListCollectIfProcedure(FastList<V> targetCollection, Function<? super T,? extends V> function, Predicate<? super T> predicate)
FastListCollectProcedure(Function<? super T,? extends V> function, FastList<V> targetCollection)
FlatCollectProcedure(Function<? super T,? extends Iterable<V>> function, Collection<V> targetCollection)
GroupByUniqueKeyProcedure(Map<K,T> newMap, Function<? super T,? extends K> newKeyFunction)
MapCollectProcedure(Map<K,V> newMap, Function<? super T,? extends K> newKeyFunction)
MapCollectProcedure(Map<K,V> newMap, Function<? super T,? extends K> newKeyFunction, Function<? super T,? extends V> newValueFunction)
MaxByProcedure(Function<? super T,? extends V> function)
MinByProcedure(Function<? super T,? extends V> function)
MultimapEachPutProcedure(MutableMultimap<K,V> multimap, Function<? super V,? extends Iterable<K>> keyFunction)
MultimapKeyValuePutAllProcedure(MutableMultimap<K,V> mutableMultimap, Function<? super T,? extends K> keyFunction, Function<? super T,? extends Iterable<V>> valueFunction)
MultimapKeyValuePutProcedure(MutableMultimap<K,V> mutableMultimap, Function<? super T,? extends K> keyFunction, Function<? super T,? extends V> valueFunction)
MultimapPutProcedure(MutableMultimap<K,V> multimap, Function<? super V,? extends K> keyFunction)
MutatingAggregationProcedure(MutableMapIterable<K,V> map, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
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 Function in org.eclipse.collections.impl.collection
Methods in org.eclipse.collections.impl.collection with parameters of type Function 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)
<K, V> MapIterable<K,V>
AbstractSynchronizedRichIterable. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
<V> RichIterable<V>
AbstractSynchronizedRichIterable. collect(Function<? super T,? extends V> function)
<V, R extends Collection<V>>
RAbstractSynchronizedRichIterable. collect(Function<? super T,? extends V> function, R target)
<V> RichIterable<V>
AbstractSynchronizedRichIterable. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<V, R extends Collection<V>>
RAbstractSynchronizedRichIterable. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function, R target)
<V> Bag<V>
AbstractSynchronizedRichIterable. countBy(Function<? super T,? extends V> function)
<V, R extends MutableBagIterable<V>>
RAbstractSynchronizedRichIterable. countBy(Function<? super T,? extends V> function, R target)
<V> Bag<V>
AbstractSynchronizedRichIterable. countByEach(Function<? super T,? extends Iterable<V>> function)
<V, R extends MutableBagIterable<V>>
RAbstractSynchronizedRichIterable. countByEach(Function<? super T,? extends Iterable<V>> function, R target)
<V> RichIterable<V>
AbstractSynchronizedRichIterable. flatCollect(Function<? super T,? extends Iterable<V>> function)
<V, R extends Collection<V>>
RAbstractSynchronizedRichIterable. flatCollect(Function<? super T,? extends Iterable<V>> function, R target)
<R extends MutableBooleanCollection>
RAbstractSynchronizedRichIterable. flatCollectBoolean(Function<? super T,? extends BooleanIterable> function, R target)
<R extends MutableByteCollection>
RAbstractSynchronizedRichIterable. flatCollectByte(Function<? super T,? extends ByteIterable> function, R target)
<R extends MutableCharCollection>
RAbstractSynchronizedRichIterable. flatCollectChar(Function<? super T,? extends CharIterable> function, R target)
<R extends MutableDoubleCollection>
RAbstractSynchronizedRichIterable. flatCollectDouble(Function<? super T,? extends DoubleIterable> function, R target)
<R extends MutableFloatCollection>
RAbstractSynchronizedRichIterable. flatCollectFloat(Function<? super T,? extends FloatIterable> function, R target)
<R extends MutableIntCollection>
RAbstractSynchronizedRichIterable. flatCollectInt(Function<? super T,? extends IntIterable> function, R target)
<R extends MutableLongCollection>
RAbstractSynchronizedRichIterable. flatCollectLong(Function<? super T,? extends LongIterable> function, R target)
<R extends MutableShortCollection>
RAbstractSynchronizedRichIterable. flatCollectShort(Function<? super T,? extends ShortIterable> function, R target)
<V> Multimap<V,T>
AbstractSynchronizedRichIterable. groupBy(Function<? super T,? extends V> function)
<V, R extends MutableMultimap<V, T>>
RAbstractSynchronizedRichIterable. groupBy(Function<? super T,? extends V> function, R target)
<V> Multimap<V,T>
AbstractSynchronizedRichIterable. groupByEach(Function<? super T,? extends Iterable<V>> function)
<V, R extends MutableMultimap<V, T>>
RAbstractSynchronizedRichIterable. groupByEach(Function<? super T,? extends Iterable<V>> function, R target)
<V> MapIterable<V,T>
AbstractSynchronizedRichIterable. groupByUniqueKey(Function<? super T,? extends V> function)
<V, R extends MutableMapIterable<V, T>>
RAbstractSynchronizedRichIterable. groupByUniqueKey(Function<? super T,? extends V> function, R target)
<V extends Comparable<? super V>>
TAbstractSynchronizedRichIterable. maxBy(Function<? super T,? extends V> function)
<V extends Comparable<? super V>>
Optional<T>AbstractSynchronizedRichIterable. maxByOptional(Function<? super T,? extends V> function)
<V extends Comparable<? super V>>
TAbstractSynchronizedRichIterable. minBy(Function<? super T,? extends V> function)
<V extends Comparable<? super V>>
Optional<T>AbstractSynchronizedRichIterable. minByOptional(Function<? super T,? extends V> function)
<V> ObjectDoubleMap<V>
AbstractSynchronizedRichIterable. sumByDouble(Function<? super T,? extends V> groupBy, DoubleFunction<? super T> function)
<V> ObjectDoubleMap<V>
AbstractSynchronizedRichIterable. sumByFloat(Function<? super T,? extends V> groupBy, FloatFunction<? super T> function)
<V> ObjectLongMap<V>
AbstractSynchronizedRichIterable. sumByInt(Function<? super T,? extends V> groupBy, IntFunction<? super T> function)
<V> ObjectLongMap<V>
AbstractSynchronizedRichIterable. sumByLong(Function<? super T,? extends V> groupBy, LongFunction<? super T> function)
<NK, NV> MutableBiMap<NK,NV>
AbstractSynchronizedRichIterable. toBiMap(Function<? super T,? extends NK> keyFunction, Function<? super T,? extends NV> valueFunction)
<K, V, R extends Map<K, V>>
RAbstractSynchronizedRichIterable. toMap(Function<? super T,? extends K> keyFunction, Function<? super T,? extends V> valueFunction, R target)
<NK, NV> MutableMap<NK,NV>
AbstractSynchronizedRichIterable. toMap(Function<? super T,? extends NK> keyFunction, Function<? super T,? extends NV> valueFunction)
<V extends Comparable<? super V>>
MutableSortedBag<T>AbstractSynchronizedRichIterable. toSortedBagBy(Function<? super T,? extends V> function)
<V extends Comparable<? super V>>
MutableList<T>AbstractSynchronizedRichIterable. toSortedListBy(Function<? super T,? extends V> function)
<NK, NV> MutableSortedMap<NK,NV>
AbstractSynchronizedRichIterable. toSortedMap(Comparator<? super NK> comparator, Function<? super T,? extends NK> keyFunction, Function<? super T,? extends NV> valueFunction)
<NK, NV> MutableSortedMap<NK,NV>
AbstractSynchronizedRichIterable. toSortedMap(Function<? super T,? extends NK> keyFunction, Function<? super T,? extends NV> valueFunction)
<KK extends Comparable<? super KK>, NK, NV>
MutableSortedMap<NK,NV>AbstractSynchronizedRichIterable. toSortedMapBy(Function<? super NK,KK> sortBy, Function<? super T,? extends NK> keyFunction, Function<? super T,? extends NV> valueFunction)
<V extends Comparable<? super V>>
MutableSortedSet<T>AbstractSynchronizedRichIterable. toSortedSetBy(Function<? super T,? extends V> function)
-
Uses of Function in org.eclipse.collections.impl.collection.immutable
Methods in org.eclipse.collections.impl.collection.immutable with parameters of type Function Modifier and Type Method Description <K, V> ImmutableMap<K,V>
AbstractImmutableCollection. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
<V> ImmutableBag<V>
AbstractImmutableCollection. countBy(Function<? super T,? extends V> function)
<V> ImmutableBag<V>
AbstractImmutableCollection. countByEach(Function<? super T,? extends Iterable<V>> function)
<V> ImmutableMap<V,T>
AbstractImmutableCollection. groupByUniqueKey(Function<? super T,? extends V> function)
<V> ImmutableObjectDoubleMap<V>
AbstractImmutableCollection. sumByDouble(Function<? super T,? extends V> groupBy, DoubleFunction<? super