Uses of Interface
org.eclipse.collections.api.block.function.Function0
Package
Description
This package contains interfaces for Eclipse Collections API.
This package contains interfaces for Bag API.
This package contains interfaces for BiMap API.
This package contains factory API for creating instances of type
ListIterable
.This package contains interfaces for map API which enhance the performance and functionality of
Map
This package contains API for primitive to primitive maps, primitive to object maps and object to primitive maps with mutable and immutable variants.
This package contains mutable and immutable sorted map interfaces.
This package contains interfaces for
Multimap
.This package contains interfaces for stack API.
This package contains implementations for Eclipse Collections API.
This package contains implementations of the
ImmutableBag
interface.This package contains implementations of the
MutableBag
interface.This package contains implementations of the
MutableBiMap
interface.This package contains factory implementations for
Function
, Predicate
, SerializableComparator
and Procedure
.This package contains implementations of
Procedure
and Procedure2
.This package contains implementations of the
MutableCollection
interface.This package contains implementations which has several parallel algorithms that work with Collections and make use of Java's fork-join
framework.
This package contains implementations of the
MutableList
interface.This package contains implementations of the
MapIterable
interface.This package contains implementations of the
ImmutableMap
interface.This package contains implementations of the
MutableMap
interface.This package contains implementations of the mutable primitive-primitive, primitive-object and object-primitive map interfaces.
This package contains implementations of the
MutableSortedMap
interface.This package contains implementations of the
MutableSortedMap
interface.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.This package contains implementations of the
Multimap
interface.This package contains classes which is used for parallel iteration through the containers.
This package contains implementations of the
MutableStack
interface.This package contains static utilities that provide iteration pattern implementations which work with JCF collections.
This package contains static utilities that provide internal iteration pattern implementations which work with JCF collections.
-
Uses of Function0 in org.eclipse.collections.api
Modifier and TypeMethodDescription<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.ParallelIterable.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) default T
RichIterable.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) Returns the first element of the iterable for which the predicate evaluates to true.<P> T
ParallelIterable.detectWithIfNone
(Predicate2<? super T, ? super P> predicate, P parameter, Function0<? extends T> function) <P> T
RichIterable.detectWithIfNone
(Predicate2<? super T, ? super P> predicate, P parameter, Function0<? extends T> function) Returns the first element of the iterable that evaluates to true for the specified predicate2 and parameter, or returns the value of evaluating the specified function. -
Uses of Function0 in org.eclipse.collections.api.bag
Modifier and TypeMethodDescriptiondefault <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. -
Uses of Function0 in org.eclipse.collections.api.bimap
Modifier and TypeMethodDescriptiondefault <K1,
V1, V2> ImmutableMap<K1, V2> ImmutableBiMap.aggregateBy
(Function<? super K, ? extends K1> keyFunction, Function<? super V, ? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2, ? super V1, ? extends V2> nonMutatingAggregator) default <KK,
VV> ImmutableMap<KK, VV> ImmutableBiMap.aggregateBy
(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) default <K1,
V1, V2> MutableMap<K1, V2> MutableBiMap.aggregateBy
(Function<? super K, ? extends K1> keyFunction, Function<? super V, ? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2, ? super V1, ? extends V2> nonMutatingAggregator) default <KK,
VV> MutableMap<KK, VV> MutableBiMap.aggregateBy
(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) default <KK,
VV> ImmutableMap<KK, VV> ImmutableBiMap.aggregateInPlaceBy
(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) -
Uses of Function0 in org.eclipse.collections.api.collection
Modifier and TypeMethodDescriptiondefault <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) -
Uses of Function0 in org.eclipse.collections.api.factory.list
Modifier and TypeMethodDescription<T> MultiReaderList<T>
MultiReaderListFactory.withNValues
(int size, Function0<? extends T> factory) <T> MutableList<T>
MutableListFactory.withNValues
(int size, Function0<? extends T> factory) -
Uses of Function0 in org.eclipse.collections.api.map
Modifier and TypeMethodDescriptiondefault <K1,
V1, V2> ImmutableMap<K1, V2> ImmutableMap.aggregateBy
(Function<? super K, ? extends K1> keyFunction, Function<? super V, ? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2, ? super V1, ? extends V2> nonMutatingAggregator) default <KK,
VV> ImmutableMap<KK, VV> ImmutableMap.aggregateBy
(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) default <K1,
V1, V2> ImmutableMapIterable<K1, V2> ImmutableMapIterable.aggregateBy
(Function<? super K, ? extends K1> keyFunction, Function<? super V, ? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2, ? super V1, ? extends V2> nonMutatingAggregator) default <KK,
VV> ImmutableMapIterable<KK, VV> ImmutableMapIterable.aggregateBy
(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) default <K1,
V1, V2> ImmutableOrderedMap<K1, V2> ImmutableOrderedMap.aggregateBy
(Function<? super K, ? extends K1> keyFunction, Function<? super V, ? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2, ? super V1, ? extends V2> nonMutatingAggregator) <KK,
VV> ImmutableOrderedMap<KK, VV> ImmutableOrderedMap.aggregateBy
(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) default <K1,
V1, V2> MapIterable<K1, V2> MapIterable.aggregateBy
(Function<? super K, ? extends K1> keyFunction, Function<? super V, ? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2, ? super V1, ? extends V2> nonMutatingAggregator) Applies an aggregate function over the map grouping results into a map based on the specific key and value groupBy functions.default <K1,
V1, V2> MutableMap<K1, V2> MutableMap.aggregateBy
(Function<? super K, ? extends K1> keyFunction, Function<? super V, ? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2, ? super V1, ? extends V2> nonMutatingAggregator) default <KK,
VV> MutableMap<KK, VV> MutableMap.aggregateBy
(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) default <K1,
V1, V2> MutableMapIterable<K1, V2> MutableMapIterable.aggregateBy
(Function<? super K, ? extends K1> keyFunction, Function<? super V, ? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2, ? super V1, ? extends V2> nonMutatingAggregator) default <KK,
VV> MutableMapIterable<KK, VV> MutableMapIterable.aggregateBy
(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) 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) MapIterable.getIfAbsent
(K key, Function0<? extends V> function) 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 Function0.MutableMapIterable.getIfAbsentPut
(K key, Function0<? extends V> function) Get and return the value in the Map at the specified key.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.<P> V
MutableMapIterable.updateValueWith
(K key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) Same asMutableMapIterable.updateValue(Object, Function0, Function)
with a Function2 and specified parameter which is passed to the function. -
Uses of Function0 in org.eclipse.collections.api.map.primitive
Modifier and TypeMethodDescriptiondefault <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) ByteObjectMap.getIfAbsent
(byte key, Function0<? extends V> ifAbsent) Retrieves the value associated with the key if one exists; if it does not, returns the result of invoking the value supplier.CharObjectMap.getIfAbsent
(char key, Function0<? extends V> ifAbsent) Retrieves the value associated with the key if one exists; if it does not, returns the result of invoking the value supplier.DoubleObjectMap.getIfAbsent
(double key, Function0<? extends V> ifAbsent) Retrieves the value associated with the key if one exists; if it does not, returns the result of invoking the value supplier.FloatObjectMap.getIfAbsent
(float key, Function0<? extends V> ifAbsent) Retrieves the value associated with the key if one exists; if it does not, returns the result of invoking the value supplier.IntObjectMap.getIfAbsent
(int key, Function0<? extends V> ifAbsent) Retrieves the value associated with the key if one exists; if it does not, returns the result of invoking the value supplier.LongObjectMap.getIfAbsent
(long key, Function0<? extends V> ifAbsent) Retrieves the value associated with the key if one exists; if it does not, returns the result of invoking the value supplier.ShortObjectMap.getIfAbsent
(short key, Function0<? extends V> ifAbsent) Retrieves the value associated with the key if one exists; if it does not, returns the result of invoking the value supplier.MutableByteObjectMap.getIfAbsentPut
(byte key, Function0<? extends V> function) Retrieves the value associated with the key if one exists; if it does not, invokes the supplier and associates the result with the key.MutableCharObjectMap.getIfAbsentPut
(char key, Function0<? extends V> function) Retrieves the value associated with the key if one exists; if it does not, invokes the supplier and associates the result with the key.MutableDoubleObjectMap.getIfAbsentPut
(double key, Function0<? extends V> function) Retrieves the value associated with the key if one exists; if it does not, invokes the supplier and associates the result with the key.MutableFloatObjectMap.getIfAbsentPut
(float key, Function0<? extends V> function) Retrieves the value associated with the key if one exists; if it does not, invokes the supplier and associates the result with the key.MutableIntObjectMap.getIfAbsentPut
(int key, Function0<? extends V> function) Retrieves the value associated with the key if one exists; if it does not, invokes the supplier and associates the result with the key.MutableLongObjectMap.getIfAbsentPut
(long key, Function0<? extends V> function) Retrieves the value associated with the key if one exists; if it does not, invokes the supplier and associates the result with the key.MutableShortObjectMap.getIfAbsentPut
(short key, Function0<? extends V> function) Retrieves the value associated with the key if one exists; if it does not, invokes the supplier and associates the result with the key.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.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.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.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.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.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.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.<P> V
MutableByteObjectMap.updateValueWith
(byte key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) Updates or sets the value associated with the key by applying the function to the existing value, if one exists, or the initial value supplied by the factory if one does not.<P> V
MutableCharObjectMap.updateValueWith
(char key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) Updates or sets the value associated with the key by applying the function to the existing value, if one exists, or the initial value supplied by the factory if one does not.<P> V
MutableDoubleObjectMap.updateValueWith
(double key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) Updates or sets the value associated with the key by applying the function to the existing value, if one exists, or the initial value supplied by the factory if one does not.<P> V
MutableFloatObjectMap.updateValueWith
(float key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) Updates or sets the value associated with the key by applying the function to the existing value, if one exists, or the initial value supplied by the factory if one does not.<P> V
MutableIntObjectMap.updateValueWith
(int key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) Updates or sets the value associated with the key by applying the function to the existing value, if one exists, or the initial value supplied by the factory if one does not.<P> V
MutableLongObjectMap.updateValueWith
(long key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) Updates or sets the value associated with the key by applying the function to the existing value, if one exists, or the initial value supplied by the factory if one does not.<P> V
MutableShortObjectMap.updateValueWith
(short key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) Updates or sets the value associated with the key by applying the function to the existing value, if one exists, or the initial value supplied by the factory if one does not. -
Uses of Function0 in org.eclipse.collections.api.map.sorted
Modifier and TypeMethodDescriptiondefault <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) -
Uses of Function0 in org.eclipse.collections.api.multimap
Modifier and TypeMethodDescription<R extends Collection<V>>
MutableMap<K,R> Returns a newMutableMap
of keys from this Multimap to the mapped values as aRichIterable
. -
Uses of Function0 in org.eclipse.collections.api.stack
Modifier and TypeMethodDescriptiondefault <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) -
Uses of Function0 in org.eclipse.collections.impl
Modifier and TypeMethodDescription<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) UnmodifiableRichIterable.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) <P> T
AbstractRichIterable.detectWithIfNone
(Predicate2<? super T, ? super P> predicate, P parameter, Function0<? extends T> function) <P> T
UnmodifiableRichIterable.detectWithIfNone
(Predicate2<? super T, ? super P> predicate, P parameter, Function0<? extends T> function) -
Uses of Function0 in org.eclipse.collections.impl.bag.immutable
-
Uses of Function0 in org.eclipse.collections.impl.bag.mutable
Modifier and TypeMethodDescriptionAbstractMutableBagIterable.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) <P> T
AbstractMutableBagIterable.detectWithIfNone
(Predicate2<? super T, ? super P> predicate, P parameter, Function0<? extends T> function) -
Uses of Function0 in org.eclipse.collections.impl.bimap
Modifier and TypeMethodDescriptionAbstractBiMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) <P> V
AbstractBiMap.detectWithIfNone
(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) AbstractBiMap.getIfAbsent
(K key, Function0<? extends V> function) -
Uses of Function0 in org.eclipse.collections.impl.bimap.immutable
Modifier and TypeMethodDescription<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) -
Uses of Function0 in org.eclipse.collections.impl.bimap.mutable
Modifier and TypeMethodDescription<K1,
V1, V2> MutableMap<K1, V2> SynchronizedBiMap.aggregateBy
(Function<? super K, ? extends K1> keyFunction, Function<? super V, ? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2, ? super V1, ? extends V2> nonMutatingAggregator) <KK,
VV> MutableMap<KK, VV> SynchronizedBiMap.aggregateBy
(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) UnmodifiableBiMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) <P> V
UnmodifiableBiMap.detectWithIfNone
(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) UnmodifiableBiMap.getIfAbsent
(K key, Function0<? extends V> function) UnmodifiableBiMap.getIfAbsentPut
(K key, Function0<? extends V> function) UnmodifiableBiMap.updateValue
(K key, Function0<? extends V> factory, Function<? super V, ? extends V> function) <P> V
UnmodifiableBiMap.updateValueWith
(K key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) -
Uses of Function0 in org.eclipse.collections.impl.block.factory
Modifier and TypeMethodDescriptionFunctions0.getFalse()
Functions0.getTrue()
static <T> Function0<MutableList<T>>
Functions0.newFastList()
static <T> Function0<MutableBag<T>>
Functions0.newHashBag()
static <K,
V> Function0<MutableMap<K, V>> Functions0.newUnifiedMap()
static <T> Function0<MutableSet<T>>
Functions0.newUnifiedSet()
static <T> Function0<T>
Functions0.nullValue()
static <T> Function0<T>
Functions0.throwing
(ThrowingFunction0<T> throwingFunction0) 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> 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> Function0<T>
Functions0.value
(T t) static Function0<AtomicInteger>
Functions0.zeroAtomicInteger()
static Function0<AtomicLong>
Functions0.zeroAtomicLong()
static Function0<BigDecimal>
Functions0.zeroBigDecimal()
static Function0<BigInteger>
Functions0.zeroBigInteger()
Functions0.zeroInteger()
-
Uses of Function0 in org.eclipse.collections.impl.block.function
Modifier and TypeClassDescriptionfinal class
A passthru Function0 which returns the value specified. -
Uses of Function0 in org.eclipse.collections.impl.block.function.checked
-
Uses of Function0 in org.eclipse.collections.impl.block.procedure
ModifierConstructorDescriptionMutatingAggregationProcedure
(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 Function0 in org.eclipse.collections.impl.collection
Modifier and TypeMethodDescription<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) AbstractSynchronizedRichIterable.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) <P> T
AbstractSynchronizedRichIterable.detectWithIfNone
(Predicate2<? super T, ? super P> predicate, P parameter, Function0<? extends T> function) -
Uses of Function0 in org.eclipse.collections.impl.collection.mutable
Modifier and TypeMethodDescription<K,
V> MutableMap<K, V> AbstractSynchronizedMutableCollection.aggregateBy
(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V, ? super T, ? extends V> nonMutatingAggregator) <K,
V> MutableMap<K, V> AbstractMultiReaderMutableCollection.aggregateInPlaceBy
(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) <K,
V> MutableMap<K, V> AbstractSynchronizedMutableCollection.aggregateInPlaceBy
(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) AbstractCollectionAdapter.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) AbstractMultiReaderMutableCollection.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) AbstractUnmodifiableMutableCollection.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) <P> T
AbstractCollectionAdapter.detectWithIfNone
(Predicate2<? super T, ? super P> predicate, P parameter, Function0<? extends T> function) <P> T
AbstractMultiReaderMutableCollection.detectWithIfNone
(Predicate2<? super T, ? super P> predicate, P parameter, Function0<? extends T> function) <P> T
AbstractUnmodifiableMutableCollection.detectWithIfNone
(Predicate2<? super T, ? super P> predicate, P parameter, Function0<? extends T> function) -
Uses of Function0 in org.eclipse.collections.impl.collector
Modifier and TypeMethodDescriptionstatic <T,
K, R extends MutableMapIterable<K, T>>
Collector<T,?, R> Collectors2.aggregateBy
(Function<? super T, ? extends K> groupBy, Function0<? extends T> zeroValueFactory, Function2<? super T, ? super T, ? extends T> aggregator, Supplier<R> supplier) Groups the elements using thegroupBy
function and all the elements that map to the same key are aggregated together using theaggregator
function. -
Uses of Function0 in org.eclipse.collections.impl.forkjoin
Modifier and TypeMethodDescriptionstatic <T,
K, V> MutableMap<K, V> FJIterate.aggregateBy
(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V, ? super T, ? extends V> nonMutatingAggregator) static <T,
K, V> MutableMap<K, V> FJIterate.aggregateBy
(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V, ? super T, ? extends V> nonMutatingAggregator, int batchSize) static <T,
K, V> MutableMap<K, V> FJIterate.aggregateBy
(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V, ? super T, ? extends V> nonMutatingAggregator, int batchSize, ForkJoinPool executor) static <T,
K, V, R extends MutableMapIterable<K, V>>
RFJIterate.aggregateBy
(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V, ? super T, ? extends V> nonMutatingAggregator, R mutableMap) static <T,
K, V, R extends MutableMapIterable<K, V>>
RFJIterate.aggregateBy
(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V, ? super T, ? extends V> nonMutatingAggregator, R mutableMap, int batchSize) static <T,
K, V, R extends MutableMapIterable<K, V>>
RFJIterate.aggregateBy
(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V, ? super T, ? extends V> nonMutatingAggregator, R mutableMap, int batchSize, ForkJoinPool executor) static <T,
K, V> MutableMap<K, V> FJIterate.aggregateInPlaceBy
(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) static <T,
K, V> MutableMap<K, V> FJIterate.aggregateInPlaceBy
(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator, int batchSize) static <T,
K, V> MutableMap<K, V> FJIterate.aggregateInPlaceBy
(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator, int batchSize, ForkJoinPool executor) static <T,
K, V, R extends MutableMapIterable<K, V>>
RFJIterate.aggregateInPlaceBy
(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator, R mutableMap) static <T,
K, V, R extends MutableMapIterable<K, V>>
RFJIterate.aggregateInPlaceBy
(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator, R mutableMap, int batchSize) static <T,
K, V, R extends MutableMapIterable<K, V>>
RFJIterate.aggregateInPlaceBy
(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator, R mutableMap, int batchSize, ForkJoinPool executor) -
Uses of Function0 in org.eclipse.collections.impl.lazy.parallel
Modifier and TypeMethodDescription<K,
V> MapIterable<K, V> AbstractMultiReaderParallelIterable.aggregateBy
(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V, ? super T, ? extends V> nonMutatingAggregator) <K,
V> MapIterable<K, V> AbstractParallelIterable.aggregateBy
(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V, ? super T, ? extends V> nonMutatingAggregator) <K,
V> MapIterable<K, V> AbstractSynchronizedParallelIterable.aggregateBy
(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V, ? super T, ? extends V> nonMutatingAggregator) <K,
V> MapIterable<K, V> NonParallelIterable.aggregateBy
(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V, ? super T, ? extends V> nonMutatingAggregator) <K,
V> MapIterable<K, V> AbstractMultiReaderParallelIterable.aggregateInPlaceBy
(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) <K,
V> MapIterable<K, V> AbstractParallelIterable.aggregateInPlaceBy
(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) <K,
V> MapIterable<K, V> AbstractSynchronizedParallelIterable.aggregateInPlaceBy
(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) <K,
V> MapIterable<K, V> NonParallelIterable.aggregateInPlaceBy
(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) AbstractMultiReaderParallelIterable.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) AbstractParallelIterable.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) AbstractSynchronizedParallelIterable.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) NonParallelIterable.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) <P> T
AbstractMultiReaderParallelIterable.detectWithIfNone
(Predicate2<? super T, ? super P> predicate, P parameter, Function0<? extends T> function) <P> T
AbstractParallelIterable.detectWithIfNone
(Predicate2<? super T, ? super P> predicate, P parameter, Function0<? extends T> function) <P> T
AbstractSynchronizedParallelIterable.detectWithIfNone
(Predicate2<? super T, ? super P> predicate, P parameter, Function0<? extends T> function) <P> T
NonParallelIterable.detectWithIfNone
(Predicate2<? super T, ? super P> predicate, P parameter, Function0<? extends T> function) -
Uses of Function0 in org.eclipse.collections.impl.list.mutable
Modifier and TypeMethodDescriptionArrayListAdapter.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) ListAdapter.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) RandomAccessListAdapter.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) static <E> FastList<E>
FastList.newWithNValues
(int size, Function0<? extends E> factory) Creates a new FastList pre-sized to the specified size filled with default values generated by the specified function.<T> MultiReaderList<T>
MultiReaderMutableListFactory.withNValues
(int size, Function0<? extends T> factory) <T> MutableList<T>
MutableListFactoryImpl.withNValues
(int size, Function0<? extends T> factory) -
Uses of Function0 in org.eclipse.collections.impl.map
Modifier and TypeMethodDescription<K1,
V1, V2> MutableMapIterable<K1, V2> AbstractSynchronizedMapIterable.aggregateBy
(Function<? super K, ? extends K1> keyFunction, Function<? super V, ? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2, ? super V1, ? extends V2> nonMutatingAggregator) <KK,
VV> MutableMapIterable<KK, VV> AbstractSynchronizedMapIterable.aggregateBy
(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) <KK,
VV> MutableMap<KK, VV> AbstractSynchronizedMapIterable.aggregateInPlaceBy
(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) AbstractMapIterable.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) <P> V
AbstractMapIterable.detectWithIfNone
(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) AbstractMapIterable.getIfAbsent
(K key, Function0<? extends V> function) AbstractSynchronizedMapIterable.getIfAbsent
(K key, Function0<? extends V> function) AbstractSynchronizedMapIterable.getIfAbsentPut
(K key, Function0<? extends V> function) AbstractSynchronizedMapIterable.updateValue
(K key, Function0<? extends V> factory, Function<? super V, ? extends V> function) <P> V
AbstractSynchronizedMapIterable.updateValueWith
(K key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) -
Uses of Function0 in org.eclipse.collections.impl.map.immutable
Modifier and TypeMethodDescription<K1,
V1, V2> ImmutableMap<K1, V2> AbstractImmutableMap.aggregateBy
(Function<? super K, ? extends K1> keyFunction, Function<? super V, ? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2, ? super V1, ? extends V2> nonMutatingAggregator) ImmutableUnifiedMap.getIfAbsent
(K key, Function0<? extends V> function) -
Uses of Function0 in org.eclipse.collections.impl.map.mutable
Modifier and TypeMethodDescription<K1,
V1, V2> MutableMap<K1, V2> AbstractMutableMapIterable.aggregateBy
(Function<? super K, ? extends K1> keyFunction, Function<? super V, ? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2, ? super V1, ? extends V2> nonMutatingAggregator) <K1,
V1, V2> MutableMap<K1, V2> SynchronizedMutableMap.aggregateBy
(Function<? super K, ? extends K1> keyFunction, Function<? super V, ? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2, ? super V1, ? extends V2> nonMutatingAggregator) <KK,
VV> MutableMap<KK, VV> SynchronizedMutableMap.aggregateBy
(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) UnifiedMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) UnmodifiableMutableMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) <P> V
UnifiedMap.detectWithIfNone
(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) <P> V
UnmodifiableMutableMap.detectWithIfNone
(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) ConcurrentHashMap.getIfAbsent
(K key, Function0<? extends V> function) ConcurrentHashMapUnsafe.getIfAbsent
(K key, Function0<? extends V> function) ConcurrentMutableHashMap.getIfAbsent
(K key, Function0<? extends V> function) Deprecated.UnmodifiableMutableMap.getIfAbsent
(K key, Function0<? extends V> function) AbstractMutableMapIterable.getIfAbsentPut
(K key, Function0<? extends V> function) ConcurrentHashMap.getIfAbsentPut
(K key, Function0<? extends V> factory) ConcurrentHashMapUnsafe.getIfAbsentPut
(K key, Function0<? extends V> factory) ConcurrentMutableHashMap.getIfAbsentPut
(K key, Function0<? extends V> function) Deprecated.UnifiedMap.getIfAbsentPut
(K key, Function0<? extends V> function) UnmodifiableMutableMap.getIfAbsentPut
(K key, Function0<? extends V> function) AbstractMutableMapIterable.updateValue
(K key, Function0<? extends V> factory, Function<? super V, ? extends V> function) ConcurrentHashMap.updateValue
(K key, Function0<? extends V> factory, Function<? super V, ? extends V> function) ConcurrentHashMapUnsafe.updateValue
(K key, Function0<? extends V> factory, Function<? super V, ? extends V> function) ConcurrentMutableHashMap.updateValue
(K key, Function0<? extends V> factory, Function<? super V, ? extends V> function) Deprecated.UnifiedMap.updateValue
(K key, Function0<? extends V> factory, Function<? super V, ? extends V> function) UnmodifiableMutableMap.updateValue
(K key, Function0<? extends V> factory, Function<? super V, ? extends V> function) <P> V
AbstractMutableMapIterable.updateValueWith
(K key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) <P> V
ConcurrentHashMap.updateValueWith
(K key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) <P> V
ConcurrentHashMapUnsafe.updateValueWith
(K key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) <P> V
ConcurrentMutableHashMap.updateValueWith
(K key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) Deprecated.<P> V
UnifiedMap.updateValueWith
(K key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) <P> V
UnmodifiableMutableMap.updateValueWith
(K key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) -
Uses of Function0 in org.eclipse.collections.impl.map.mutable.primitive
Modifier and TypeMethodDescription<K,
VV> MutableMap<K, VV> SynchronizedByteObjectMap.aggregateBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) <K,
VV> MutableMap<K, VV> SynchronizedCharObjectMap.aggregateBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) <K,
VV> MutableMap<K, VV> SynchronizedDoubleObjectMap.aggregateBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) <K,
VV> MutableMap<K, VV> SynchronizedFloatObjectMap.aggregateBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) <K,
VV> MutableMap<K, VV> SynchronizedIntObjectMap.aggregateBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) <K,
VV> MutableMap<K, VV> SynchronizedLongObjectMap.aggregateBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) <K,
VV> MutableMap<K, VV> SynchronizedShortObjectMap.aggregateBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) <K,
VV> MutableMap<K, VV> UnmodifiableByteObjectMap.aggregateBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) <K,
VV> MutableMap<K, VV> UnmodifiableCharObjectMap.aggregateBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) <K,
VV> MutableMap<K, VV> UnmodifiableDoubleObjectMap.aggregateBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) <K,
VV> MutableMap<K, VV> UnmodifiableFloatObjectMap.aggregateBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) <K,
VV> MutableMap<K, VV> UnmodifiableIntObjectMap.aggregateBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) <K,
VV> MutableMap<K, VV> UnmodifiableLongObjectMap.aggregateBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) <K,
VV> MutableMap<K, VV> UnmodifiableShortObjectMap.aggregateBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) <K,
VV> MutableMap<K, VV> ByteObjectHashMap.aggregateInPlaceBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,
VV> MutableMap<K, VV> CharObjectHashMap.aggregateInPlaceBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,
VV> MutableMap<K, VV> DoubleObjectHashMap.aggregateInPlaceBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,
VV> MutableMap<K, VV> FloatObjectHashMap.aggregateInPlaceBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,
VV> MutableMap<K, VV> IntObjectHashMap.aggregateInPlaceBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,
VV> MutableMap<K, VV> LongObjectHashMap.aggregateInPlaceBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,
VV> MutableMap<K, VV> ShortObjectHashMap.aggregateInPlaceBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,
VV> MutableMap<K, VV> SynchronizedByteObjectMap.aggregateInPlaceBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,
VV> MutableMap<K, VV> SynchronizedCharObjectMap.aggregateInPlaceBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,
VV> MutableMap<K, VV> SynchronizedDoubleObjectMap.aggregateInPlaceBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,
VV> MutableMap<K, VV> SynchronizedFloatObjectMap.aggregateInPlaceBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,
VV> MutableMap<K, VV> SynchronizedIntObjectMap.aggregateInPlaceBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,
VV> MutableMap<K, VV> SynchronizedLongObjectMap.aggregateInPlaceBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,
VV> MutableMap<K, VV> SynchronizedShortObjectMap.aggregateInPlaceBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,
VV> MutableMap<K, VV> UnmodifiableByteObjectMap.aggregateInPlaceBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,
VV> MutableMap<K, VV> UnmodifiableCharObjectMap.aggregateInPlaceBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,
VV> MutableMap<K, VV> UnmodifiableDoubleObjectMap.aggregateInPlaceBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,
VV> MutableMap<K, VV> UnmodifiableFloatObjectMap.aggregateInPlaceBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,
VV> MutableMap<K, VV> UnmodifiableIntObjectMap.aggregateInPlaceBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,
VV> MutableMap<K, VV> UnmodifiableLongObjectMap.aggregateInPlaceBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K,
VV> MutableMap<K, VV> UnmodifiableShortObjectMap.aggregateInPlaceBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) ByteObjectHashMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) CharObjectHashMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) DoubleObjectHashMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) FloatObjectHashMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) IntObjectHashMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) LongObjectHashMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) ShortObjectHashMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) SynchronizedByteObjectMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) SynchronizedCharObjectMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) SynchronizedDoubleObjectMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) SynchronizedFloatObjectMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) SynchronizedIntObjectMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) SynchronizedLongObjectMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) SynchronizedShortObjectMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) UnmodifiableByteObjectMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) UnmodifiableCharObjectMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) UnmodifiableDoubleObjectMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) UnmodifiableFloatObjectMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) UnmodifiableIntObjectMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) UnmodifiableLongObjectMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) UnmodifiableShortObjectMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) <P> V
ByteObjectHashMap.detectWithIfNone
(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) <P> V
CharObjectHashMap.detectWithIfNone
(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) <P> V
DoubleObjectHashMap.detectWithIfNone
(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) <P> V
FloatObjectHashMap.detectWithIfNone
(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) <P> V
IntObjectHashMap.detectWithIfNone
(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) <P> V
LongObjectHashMap.detectWithIfNone
(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) <P> V
ShortObjectHashMap.detectWithIfNone
(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) <P> V
SynchronizedByteObjectMap.detectWithIfNone
(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) <P> V
SynchronizedCharObjectMap.detectWithIfNone
(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) <P> V
SynchronizedDoubleObjectMap.detectWithIfNone
(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) <P> V
SynchronizedFloatObjectMap.detectWithIfNone
(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) <P> V
SynchronizedIntObjectMap.detectWithIfNone
(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) <P> V
SynchronizedLongObjectMap.detectWithIfNone
(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) <P> V
SynchronizedShortObjectMap.detectWithIfNone
(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) <P> V
UnmodifiableByteObjectMap.detectWithIfNone
(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) <P> V
UnmodifiableCharObjectMap.detectWithIfNone
(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) <P> V
UnmodifiableDoubleObjectMap.detectWithIfNone
(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) <P> V
UnmodifiableFloatObjectMap.detectWithIfNone
(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) <P> V
UnmodifiableIntObjectMap.detectWithIfNone
(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) <P> V
UnmodifiableLongObjectMap.detectWithIfNone
(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) <P> V
UnmodifiableShortObjectMap.detectWithIfNone
(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) ByteObjectHashMap.getIfAbsent
(byte key, Function0<? extends V> ifAbsent) CharObjectHashMap.getIfAbsent
(char key, Function0<? extends V> ifAbsent) DoubleObjectHashMap.getIfAbsent
(double key, Function0<? extends V> ifAbsent) FloatObjectHashMap.getIfAbsent
(float key, Function0<? extends V> ifAbsent) IntObjectHashMap.getIfAbsent
(int key, Function0<? extends V> ifAbsent) LongObjectHashMap.getIfAbsent
(long key, Function0<? extends V> ifAbsent) ShortObjectHashMap.getIfAbsent
(short key, Function0<? extends V> ifAbsent) SynchronizedByteObjectMap.getIfAbsent
(byte key, Function0<? extends V> ifAbsent) SynchronizedCharObjectMap.getIfAbsent
(char key, Function0<? extends V> ifAbsent) SynchronizedDoubleObjectMap.getIfAbsent
(double key, Function0<? extends V> ifAbsent) SynchronizedFloatObjectMap.getIfAbsent
(float key, Function0<? extends V> ifAbsent) SynchronizedIntObjectMap.getIfAbsent
(int key, Function0<? extends V> ifAbsent) SynchronizedLongObjectMap.getIfAbsent
(long key, Function0<? extends V> ifAbsent) SynchronizedShortObjectMap.getIfAbsent
(short key, Function0<? extends V> ifAbsent) UnmodifiableByteObjectMap.getIfAbsent
(byte key, Function0<? extends V> ifAbsent) UnmodifiableCharObjectMap.getIfAbsent
(char key, Function0<? extends V> ifAbsent) UnmodifiableDoubleObjectMap.getIfAbsent
(double key, Function0<? extends V> ifAbsent) UnmodifiableFloatObjectMap.getIfAbsent
(float key, Function0<? extends V> ifAbsent) UnmodifiableIntObjectMap.getIfAbsent
(int key, Function0<? extends V> ifAbsent) UnmodifiableLongObjectMap.getIfAbsent
(long key, Function0<? extends V> ifAbsent) UnmodifiableShortObjectMap.getIfAbsent
(short key, Function0<? extends V> ifAbsent) ByteObjectHashMap.getIfAbsentPut
(byte key, Function0<? extends V> function) CharObjectHashMap.getIfAbsentPut
(char key, Function0<? extends V> function) DoubleObjectHashMap.getIfAbsentPut
(double key, Function0<? extends V> function) FloatObjectHashMap.getIfAbsentPut
(float key, Function0<? extends V> function) IntObjectHashMap.getIfAbsentPut
(int key, Function0<? extends V> function) LongObjectHashMap.getIfAbsentPut
(long key, Function0<? extends V> function) ShortObjectHashMap.getIfAbsentPut
(short key, Function0<? extends V> function) SynchronizedByteObjectMap.getIfAbsentPut
(byte key, Function0<? extends V> function) SynchronizedCharObjectMap.getIfAbsentPut
(char key, Function0<? extends V> function) SynchronizedDoubleObjectMap.getIfAbsentPut
(double key, Function0<? extends V> function) SynchronizedFloatObjectMap.getIfAbsentPut
(float key, Function0<? extends V> function) SynchronizedIntObjectMap.getIfAbsentPut
(int key, Function0<? extends V> function) SynchronizedLongObjectMap.getIfAbsentPut
(long key, Function0<? extends V> function) SynchronizedShortObjectMap.getIfAbsentPut
(short key, Function0<? extends V> function) UnmodifiableByteObjectMap.getIfAbsentPut
(byte key, Function0<? extends V> function) UnmodifiableCharObjectMap.getIfAbsentPut
(char key, Function0<? extends V> function) UnmodifiableDoubleObjectMap.getIfAbsentPut
(double key, Function0<? extends V> function) UnmodifiableFloatObjectMap.getIfAbsentPut
(float key, Function0<? extends V> function) UnmodifiableIntObjectMap.getIfAbsentPut
(int key, Function0<? extends V> function) UnmodifiableLongObjectMap.getIfAbsentPut
(long key, Function0<? extends V> function) UnmodifiableShortObjectMap.getIfAbsentPut
(short key, Function0<? extends V> function) ByteObjectHashMap.updateValue
(byte key, Function0<? extends V> factory, Function<? super V, ? extends V> function) CharObjectHashMap.updateValue
(char key, Function0<? extends V> factory, Function<? super V, ? extends V> function) DoubleObjectHashMap.updateValue
(double key, Function0<? extends V> factory, Function<? super V, ? extends V> function) FloatObjectHashMap.updateValue
(float key, Function0<? extends V> factory, Function<? super V, ? extends V> function) IntObjectHashMap.updateValue
(int key, Function0<? extends V> factory, Function<? super V, ? extends V> function) LongObjectHashMap.updateValue
(long key, Function0<? extends V> factory, Function<? super V, ? extends V> function) ShortObjectHashMap.updateValue
(short key, Function0<? extends V> factory, Function<? super V, ? extends V> function) SynchronizedByteObjectMap.updateValue
(byte key, Function0<? extends V> factory, Function<? super V, ? extends V> function) SynchronizedCharObjectMap.updateValue
(char key, Function0<? extends V> factory, Function<? super V, ? extends V> function) SynchronizedDoubleObjectMap.updateValue
(double key, Function0<? extends V> factory, Function<? super V, ? extends V> function) SynchronizedFloatObjectMap.updateValue
(float key, Function0<? extends V> factory, Function<? super V, ? extends V> function) SynchronizedIntObjectMap.updateValue
(int key, Function0<? extends V> factory, Function<? super V, ? extends V> function) SynchronizedLongObjectMap.updateValue
(long key, Function0<? extends V> factory, Function<? super V, ? extends V> function) SynchronizedShortObjectMap.updateValue
(short key, Function0<? extends V> factory, Function<? super V, ? extends V> function) UnmodifiableByteObjectMap.updateValue
(byte key, Function0<? extends V> factory, Function<? super V, ? extends V> function) UnmodifiableCharObjectMap.updateValue
(char key, Function0<? extends V> factory, Function<? super V, ? extends V> function) UnmodifiableDoubleObjectMap.updateValue
(double key, Function0<? extends V> factory, Function<? super V, ? extends V> function) UnmodifiableFloatObjectMap.updateValue
(float key, Function0<? extends V> factory, Function<? super V, ? extends V> function) UnmodifiableIntObjectMap.updateValue
(int key, Function0<? extends V> factory, Function<? super V, ? extends V> function) UnmodifiableLongObjectMap.updateValue
(long key, Function0<? extends V> factory, Function<? super V, ? extends V> function) UnmodifiableShortObjectMap.updateValue
(short key, Function0<? extends V> factory, Function<? super V, ? extends V> function) <P> V
ByteObjectHashMap.updateValueWith
(byte key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) <P> V
CharObjectHashMap.updateValueWith
(char key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) <P> V
DoubleObjectHashMap.updateValueWith
(double key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) <P> V
FloatObjectHashMap.updateValueWith
(float key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) <P> V
IntObjectHashMap.updateValueWith
(int key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) <P> V
LongObjectHashMap.updateValueWith
(long key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) <P> V
ShortObjectHashMap.updateValueWith
(short key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) <P> V
SynchronizedByteObjectMap.updateValueWith
(byte key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) <P> V
SynchronizedCharObjectMap.updateValueWith
(char key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) <P> V
SynchronizedDoubleObjectMap.updateValueWith
(double key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) <P> V
SynchronizedFloatObjectMap.updateValueWith
(float key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) <P> V
SynchronizedIntObjectMap.updateValueWith
(int key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) <P> V
SynchronizedLongObjectMap.updateValueWith
(long key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) <P> V
SynchronizedShortObjectMap.updateValueWith
(short key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) <P> V
UnmodifiableByteObjectMap.updateValueWith
(byte key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) <P> V
UnmodifiableCharObjectMap.updateValueWith
(char key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) <P> V
UnmodifiableDoubleObjectMap.updateValueWith
(double key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) <P> V
UnmodifiableFloatObjectMap.updateValueWith
(float key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) <P> V
UnmodifiableIntObjectMap.updateValueWith
(int key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) <P> V
UnmodifiableLongObjectMap.updateValueWith
(long key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) <P> V
UnmodifiableShortObjectMap.updateValueWith
(short key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) -
Uses of Function0 in org.eclipse.collections.impl.map.ordered.mutable
Modifier and TypeMethodDescription<K1,
V1, V2> MutableMapIterable<K1, V2> UnmodifiableMutableOrderedMap.aggregateBy
(Function<? super K, ? extends K1> keyFunction, Function<? super V, ? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2, ? super V1, ? extends V2> nonMutatingAggregator) <KK,
VV> MutableMapIterable<KK, VV> UnmodifiableMutableOrderedMap.aggregateBy
(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) <KK,
VV> MutableMap<KK, VV> UnmodifiableMutableOrderedMap.aggregateInPlaceBy
(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) UnmodifiableMutableOrderedMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) <P> V
UnmodifiableMutableOrderedMap.detectWithIfNone
(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) UnmodifiableMutableOrderedMap.getIfAbsent
(K key, Function0<? extends V> function) OrderedMapAdapter.getIfAbsentPut
(K key, Function0<? extends V> function) UnmodifiableMutableOrderedMap.getIfAbsentPut
(K key, Function0<? extends V> function) OrderedMapAdapter.updateValue
(K key, Function0<? extends V> factory, Function<? super V, ? extends V> function) UnmodifiableMutableOrderedMap.updateValue
(K key, Function0<? extends V> factory, Function<? super V, ? extends V> function) <P> V
OrderedMapAdapter.updateValueWith
(K key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) <P> V
UnmodifiableMutableOrderedMap.updateValueWith
(K key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) -
Uses of Function0 in org.eclipse.collections.impl.map.sorted.immutable
Modifier and TypeMethodDescription<K1,
V1, V2> ImmutableMap<K1, V2> AbstractImmutableSortedMap.aggregateBy
(Function<? super K, ? extends K1> keyFunction, Function<? super V, ? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2, ? super V1, ? extends V2> nonMutatingAggregator) -
Uses of Function0 in org.eclipse.collections.impl.map.sorted.mutable
Modifier and TypeMethodDescriptionUnmodifiableTreeMap.detectIfNone
(Predicate<? super V> predicate, Function0<? extends V> function) <P> V
UnmodifiableTreeMap.detectWithIfNone
(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) UnmodifiableTreeMap.getIfAbsent
(K key, Function0<? extends V> function) UnmodifiableTreeMap.getIfAbsentPut
(K key, Function0<? extends V> function) UnmodifiableTreeMap.updateValue
(K key, Function0<? extends V> factory, Function<? super V, ? extends V> function) <P> V
UnmodifiableTreeMap.updateValueWith
(K key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) -
Uses of Function0 in org.eclipse.collections.impl.map.strategy.mutable
Modifier and TypeMethodDescriptionUnifiedMapWithHashingStrategy.getIfAbsentPut
(K key, Function0<? extends V> function) UnifiedMapWithHashingStrategy.updateValue
(K key, Function0<? extends V> factory, Function<? super V, ? extends V> function) <P> V
UnifiedMapWithHashingStrategy.updateValueWith
(K key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) -
Uses of Function0 in org.eclipse.collections.impl.multimap
Modifier and TypeMethodDescription<R extends Collection<V>>
MutableMap<K,R> <R extends Collection<V>>
MutableMap<K,R> <R extends Collection<V>>
MutableMap<K,R> -
Uses of Function0 in org.eclipse.collections.impl.parallel
Modifier and TypeMethodDescriptionstatic <T,
K, V> MutableMap<K, V> ParallelIterate.aggregateBy
(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V, ? super T, ? extends V> nonMutatingAggregator) static <T,
K, V> MutableMap<K, V> ParallelIterate.aggregateBy
(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V, ? super T, ? extends V> nonMutatingAggregator, int batchSize) static <T,
K, V> MutableMap<K, V> ParallelIterate.aggregateBy
(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V, ? super T, ? extends V> nonMutatingAggregator, int batchSize, Executor executor) static <T,
K, V, R extends MutableMapIterable<K, V>>
RParallelIterate.aggregateBy
(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V, ? super T, ? extends V> nonMutatingAggregator, R mutableMap) static <T,
K, V, R extends MutableMapIterable<K, V>>
RParallelIterate.aggregateBy
(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V, ? super T, ? extends V> nonMutatingAggregator, R mutableMap, int batchSize) static <T,
K, V, R extends MutableMapIterable<K, V>>
RParallelIterate.aggregateBy
(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V, ? super T, ? extends V> nonMutatingAggregator, R mutableMap, int batchSize, Executor executor) static <T,
K, V> MutableMap<K, V> ParallelIterate.aggregateInPlaceBy
(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) static <T,
K, V> MutableMap<K, V> ParallelIterate.aggregateInPlaceBy
(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator, int batchSize) static <T,
K, V> MutableMap<K, V> ParallelIterate.aggregateInPlaceBy
(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator, int batchSize, Executor executor) static <T,
K, V, R extends MutableMapIterable<K, V>>
RParallelIterate.aggregateInPlaceBy
(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator, R mutableMap) static <T,
K, V, R extends MutableMapIterable<K, V>>
RParallelIterate.aggregateInPlaceBy
(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator, R mutableMap, int batchSize) static <T,
K, V, R extends MutableMapIterable<K, V>>
RParallelIterate.aggregateInPlaceBy
(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator, R mutableMap, int batchSize, Executor executor) -
Uses of Function0 in org.eclipse.collections.impl.stack.mutable
Modifier and TypeMethodDescription<K,
V> MutableMap<K, V> SynchronizedStack.aggregateBy
(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V, ? super T, ? extends V> nonMutatingAggregator) <K,
V> MutableMap<K, V> SynchronizedStack.aggregateInPlaceBy
(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) ArrayStack.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) SynchronizedStack.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) UnmodifiableStack.detectIfNone
(Predicate<? super T> predicate, Function0<? extends T> function) <P> T
ArrayStack.detectWithIfNone
(Predicate2<? super T, ? super P> predicate, P parameter, Function0<? extends T> function) <P> T
SynchronizedStack.detectWithIfNone
(Predicate2<? super T, ? super P> predicate, P parameter, Function0<? extends T> function) <P> T
UnmodifiableStack.detectWithIfNone
(Predicate2<? super T, ? super P> predicate, P parameter, Function0<? extends T> function) -
Uses of Function0 in org.eclipse.collections.impl.utility
Modifier and TypeMethodDescriptionstatic <T,
K, V> MutableMap<K, V> ArrayListIterate.aggregateBy
(ArrayList<T> list, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V, ? super T, ? extends V> nonMutatingAggregator) static <T,
K, V> MutableMap<K, V> Iterate.aggregateBy
(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V, ? super T, ? extends V> nonMutatingAggregator) static <T,
K, V> MutableMap<K, V> ArrayListIterate.aggregateInPlaceBy
(ArrayList<T> list, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) static <T,
K, V> MutableMap<K, V> Iterate.aggregateInPlaceBy
(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) static <K,
V> V MapIterate.getIfAbsent
(Map<K, V> map, K key, Function0<? extends V> instanceBlock) Get and 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 specifiedFunction0
.static <K,
V> V MapIterate.getIfAbsentPut
(Map<K, V> map, K key, Function0<? extends V> instanceBlock) Get and return the value in the Map at the specified key, or if there is no value at the key, return the result of evaluating the specifiedFunction0
, and put that value in the map at the specified key. -
Uses of Function0 in org.eclipse.collections.impl.utility.internal
Modifier and TypeMethodDescriptionstatic <T,
K, V> MutableMap<K, V> IterableIterate.aggregateBy
(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V, ? super T, ? extends V> nonMutatingAggregator) static <T,
K, V> MutableMap<K, V> IteratorIterate.aggregateBy
(Iterator<T> iterator, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V, ? super T, ? extends V> nonMutatingAggregator) static <T,
K, V> MutableMap<K, V> IteratorIterate.aggregateBy
(Iterator<T> iterator, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) static <T,
K, V> MutableMap<K, V> RandomAccessListIterate.aggregateBy
(List<T> list, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V, ? super T, ? extends V> nonMutatingAggregator) static <T,
K, V> MutableMap<K, V> IterableIterate.aggregateInPlaceBy
(Iterable<T> iterable, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) static <T,
K, V> MutableMap<K, V> RandomAccessListIterate.aggregateInPlaceBy
(List<T> list, Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator)