Uses of Interface
org.eclipse.collections.api.block.function.Function0
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.collection | |
org.eclipse.collections.api.factory.list |
This package contains factory API for creating instances of type
ListIterable . |
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.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.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.bimap | |
org.eclipse.collections.impl.bimap.immutable | |
org.eclipse.collections.impl.bimap.mutable |
This package contains implementations of the
MutableBiMap interface. |
org.eclipse.collections.impl.block.factory |
This package contains factory implementations for
Function , Predicate , SerializableComparator and Procedure . |
org.eclipse.collections.impl.block.function | |
org.eclipse.collections.impl.block.function.checked | |
org.eclipse.collections.impl.block.procedure |
This package contains implementations of
Procedure and Procedure2 . |
org.eclipse.collections.impl.collection | |
org.eclipse.collections.impl.collection.immutable |
This package contains implementations of the
ImmutableCollection interface. |
org.eclipse.collections.impl.collection.mutable |
This package contains implementations of the
MutableCollection interface. |
org.eclipse.collections.impl.collector | |
org.eclipse.collections.impl.forkjoin |
This package contains implementations which has several parallel algorithms that work with Collections and make use of Java's fork-join
framework.
|
org.eclipse.collections.impl.lazy |
This package contains implementations of the
LazyIterable interface. |
org.eclipse.collections.impl.lazy.parallel | |
org.eclipse.collections.impl.list.mutable |
This package contains implementations of the
MutableList interface. |
org.eclipse.collections.impl.map |
This package contains implementations of the
MapIterable interface. |
org.eclipse.collections.impl.map.immutable |
This package contains implementations of the
ImmutableMap interface. |
org.eclipse.collections.impl.map.mutable |
This package contains implementations of the
MutableMap interface. |
org.eclipse.collections.impl.map.mutable.primitive |
This package contains implementations of the mutable primitive-primitive, primitive-object and object-primitive map interfaces.
|
org.eclipse.collections.impl.map.ordered.mutable | |
org.eclipse.collections.impl.map.sorted.immutable |
This package contains implementations of the
MutableSortedMap interface. |
org.eclipse.collections.impl.map.sorted.mutable |
This package contains implementations of the
MutableSortedMap interface. |
org.eclipse.collections.impl.map.strategy.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.parallel |
This package contains classes which is used for parallel iteration through the containers.
|
org.eclipse.collections.impl.stack.mutable |
This package contains implementations of the
MutableStack interface. |
org.eclipse.collections.impl.utility |
This package contains static utilities that provide iteration pattern implementations which work with JCF collections.
|
org.eclipse.collections.impl.utility.internal |
This package contains static utilities that provide internal iteration pattern implementations which work with JCF collections.
|
-
Uses of Function0 in org.eclipse.collections.api
Methods in org.eclipse.collections.api with parameters of type Function0 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.T
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
Methods in org.eclipse.collections.api.bag with parameters of type Function0 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. -
Uses of Function0 in org.eclipse.collections.api.collection
Methods in org.eclipse.collections.api.collection with parameters of type Function0 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)
-
Uses of Function0 in org.eclipse.collections.api.factory.list
Methods in org.eclipse.collections.api.factory.list with parameters of type Function0 Modifier and Type Method Description <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
Methods in org.eclipse.collections.api.map with parameters of type Function0 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)
V
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.V
MutableMapIterable. getIfAbsentPut(K key, Function0<? extends V> function)
Get and return the value in the Map at the specified key.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.<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
Methods in org.eclipse.collections.api.map.primitive with parameters of type Function0 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)
V
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.V
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.V
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.V
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.V
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.V
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.V
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.V
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.V
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.V
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.V
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.V
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.V
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.V
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.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.<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
Methods in org.eclipse.collections.api.map.sorted with parameters of type Function0 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)
-
Uses of Function0 in org.eclipse.collections.api.multimap
Methods in org.eclipse.collections.api.multimap with parameters of type Function0 Modifier and Type Method Description <R extends Collection<V>>
MutableMap<K,R>Multimap. toMap(Function0<R> collectionFactory)
Returns a newMutableMap
of keys from this Multimap to the mapped values as aRichIterable
. -
Uses of Function0 in org.eclipse.collections.api.stack
Methods in org.eclipse.collections.api.stack with parameters of type Function0 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)
-
Uses of Function0 in org.eclipse.collections.impl
Methods in org.eclipse.collections.impl with parameters of type Function0 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)
T
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
Methods in org.eclipse.collections.impl.bag.immutable with parameters of type Function0 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)
T
ImmutableHashBag. detectIfNone(Predicate<? super T> predicate, Function0<? extends T> function)
-
Uses of Function0 in org.eclipse.collections.impl.bag.mutable
Methods in org.eclipse.collections.impl.bag.mutable with parameters of type Function0 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)
T
AbstractMutableBagIterable. 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
Methods in org.eclipse.collections.impl.bimap with parameters of type Function0 Modifier and Type Method Description V
AbstractBiMap. 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)
V
AbstractBiMap. getIfAbsent(K key, Function0<? extends V> function)
-
Uses of Function0 in org.eclipse.collections.impl.bimap.immutable
Methods in org.eclipse.collections.impl.bimap.immutable with parameters of type Function0 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)
-
Uses of Function0 in org.eclipse.collections.impl.bimap.mutable
Methods in org.eclipse.collections.impl.bimap.mutable with parameters of type Function0 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)
V
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)
V
UnmodifiableBiMap. getIfAbsent(K key, Function0<? extends V> function)
V
UnmodifiableBiMap. getIfAbsentPut(K key, Function0<? extends V> function)
V
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
Methods in org.eclipse.collections.impl.block.factory that return Function0 Modifier and Type Method Description static Function0<Boolean>
Functions0. getFalse()
static Function0<Boolean>
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()
static Function0<Integer>
Functions0. zeroInteger()
-
Uses of Function0 in org.eclipse.collections.impl.block.function
Classes in org.eclipse.collections.impl.block.function that implement Function0 Modifier and Type Class Description class
PassThruFunction0<T>
A passthru Function0 which returns the value specified. -
Uses of Function0 in org.eclipse.collections.impl.block.function.checked
Classes in org.eclipse.collections.impl.block.function.checked that implement Function0 Modifier and Type Class Description class
CheckedFunction0<R>
-
Uses of Function0 in org.eclipse.collections.impl.block.procedure
Constructors in org.eclipse.collections.impl.block.procedure with parameters of type Function0 Constructor Description 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 Function0 in org.eclipse.collections.impl.collection
Methods in org.eclipse.collections.impl.collection with parameters of type Function0 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)
T
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.immutable
Methods in org.eclipse.collections.impl.collection.immutable with parameters of type Function0 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)
-
Uses of Function0 in org.eclipse.collections.impl.collection.mutable
Methods in org.eclipse.collections.impl.collection.mutable with parameters of type Function0 Modifier and Type Method Description <K, V> MutableMap<K,V>
AbstractSynchronizedMutableCollection. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
<K, V> MutableMap<K,V>
AbstractCollectionAdapter. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
<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>
AbstractMutableCollection. 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)
<K, V> MutableMap<K,V>
AbstractUnmodifiableMutableCollection. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
T
AbstractCollectionAdapter. detectIfNone(Predicate<? super T> predicate, Function0<? extends T> function)
T
AbstractMultiReaderMutableCollection. detectIfNone(Predicate<? super T> predicate, Function0<? extends T> function)
T
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
Methods in org.eclipse.collections.impl.collector with parameters of type Function0 Modifier and Type Method Description static <T, K, R extends MutableMapIterable<K, T>>
Collector<T,?,R>Collectors2. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends T> zeroValueFactory, Function2<? super T,? super T,? extends T> aggregator, Supplier<R> supplier)
Groups the elements using thegroupBy
function and all the elements that map to the same key are aggregated together using theaggregator
function. -
Uses of Function0 in org.eclipse.collections.impl.forkjoin
Methods in org.eclipse.collections.impl.forkjoin with parameters of type Function0 Modifier and Type Method Description static <T, K, V> MutableMap<K,V>
FJIterate. aggregateBy(Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
static <T, K, V> MutableMap<K,V>
FJIterate. aggregateBy(Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, int batchSize)
static <T, K, V> MutableMap<K,V>
FJIterate. aggregateBy(Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, int batchSize, ForkJoinPool executor)
static <T, K, V, R extends MutableMapIterable<K, V>>
RFJIterate. aggregateBy(Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, R mutableMap)
static <T, K, V, R extends MutableMapIterable<K, V>>
RFJIterate. aggregateBy(Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, R mutableMap, int batchSize)
static <T, K, V, R extends MutableMapIterable<K, V>>
RFJIterate. aggregateBy(Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, R mutableMap, int batchSize, ForkJoinPool executor)
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
Methods in org.eclipse.collections.impl.lazy with parameters of type Function0 Modifier and Type Method Description <K, V> MapIterable<K,V>
AbstractLazyIterable. 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.lazy.parallel
Methods in org.eclipse.collections.impl.lazy.parallel with parameters of type Function0 Modifier and Type Method Description <K, V> MapIterable<K,V>
AbstractMultiReaderParallelIterable. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
<K, V> MapIterable<K,V>
AbstractParallelIterable. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
<K, V> MapIterable<K,V>
AbstractSynchronizedParallelIterable. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
<K, V> MapIterable<K,V>
NonParallelIterable. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
<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)
T
AbstractMultiReaderParallelIterable. detectIfNone(Predicate<? super T> predicate, Function0<? extends T> function)
T
AbstractParallelIterable. detectIfNone(Predicate<? super T> predicate, Function0<? extends T> function)
T
AbstractSynchronizedParallelIterable. detectIfNone(Predicate<? super T> predicate, Function0<? extends T> function)
T
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
Methods in org.eclipse.collections.impl.list.mutable with parameters of type Function0 Modifier and Type Method Description T
ArrayListAdapter. detectIfNone(Predicate<? super T> predicate, Function0<? extends T> function)
T
ListAdapter. detectIfNone(Predicate<? super T> predicate, Function0<? extends T> function)
T
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
Methods in org.eclipse.collections.impl.map with parameters of type Function0 Modifier and Type Method Description <K1, V1, V2> MutableMap<K1,V2>
AbstractSynchronizedMapIterable. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
<KK, VV> MutableMap<KK,VV>
AbstractSynchronizedMapIterable. aggregateBy(Function<? super V,? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<KK, VV> MutableMap<KK,VV>
AbstractSynchronizedMapIterable. aggregateInPlaceBy(Function<? super V,? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV,? super V> mutatingAggregator)
V
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)
V
AbstractMapIterable. getIfAbsent(K key, Function0<? extends V> function)
V
AbstractSynchronizedMapIterable. getIfAbsent(K key, Function0<? extends V> function)
V
AbstractSynchronizedMapIterable. getIfAbsentPut(K key, Function0<? extends V> function)
V
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
Methods in org.eclipse.collections.impl.map.immutable with parameters of type Function0 Modifier and Type Method Description <K1, V1, V2> ImmutableMap<K1,V2>
AbstractImmutableMap. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
<K2, V2> ImmutableMap<K2,V2>
AbstractImmutableMap. aggregateInPlaceBy(Function<? super V,? extends K2> groupBy, Function0<? extends V2> zeroValueFactory, Procedure2<? super V2,? super V> mutatingAggregator)
V
ImmutableUnifiedMap. getIfAbsent(K key, Function0<? extends V> function)
-
Uses of Function0 in org.eclipse.collections.impl.map.mutable
Methods in org.eclipse.collections.impl.map.mutable with parameters of type Function0 Modifier and Type Method Description <K1, V1, V2> MutableMap<K1,V2>
AbstractMutableMapIterable. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
<K1, V1, V2> MutableMap<K1,V2>
UnmodifiableMutableMap. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
<K2, V2> MutableMap<K2,V2>
UnmodifiableMutableMap. aggregateBy(Function<? super V,? extends K2> groupBy, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V,? extends V2> nonMutatingAggregator)
<K2, V2> MutableMap<K2,V2>
AbstractMutableMapIterable. aggregateInPlaceBy(Function<? super V,? extends K2> groupBy, Function0<? extends V2> zeroValueFactory, Procedure2<? super V2,? super V> mutatingAggregator)
<K2, V2> MutableMap<K2,V2>
UnmodifiableMutableMap. aggregateInPlaceBy(Function<? super V,? extends K2> groupBy, Function0<? extends V2> zeroValueFactory, Procedure2<? super V2,? super V> mutatingAggregator)
V
UnifiedMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
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)
V
ConcurrentHashMap. getIfAbsent(K key, Function0<? extends V> function)
V
ConcurrentHashMapUnsafe. getIfAbsent(K key, Function0<? extends V> function)
V
ConcurrentMutableHashMap. getIfAbsent(K key, Function0<? extends V> function)
Deprecated.V
UnmodifiableMutableMap. getIfAbsent(K key, Function0<? extends V> function)
V
AbstractMutableMapIterable. getIfAbsentPut(K key, Function0<? extends V> function)
V
ConcurrentHashMap. getIfAbsentPut(K key, Function0<? extends V> factory)
V
ConcurrentHashMapUnsafe. getIfAbsentPut(K key, Function0<? extends V> factory)
V
ConcurrentMutableHashMap. getIfAbsentPut(K key, Function0<? extends V> function)
Deprecated.V
UnifiedMap. getIfAbsentPut(K key, Function0<? extends V> function)
V
UnmodifiableMutableMap. getIfAbsentPut(K key, Function0<? extends V> function)
V
AbstractMutableMapIterable. updateValue(K key, Function0<? extends V> factory, Function<? super V,? extends V> function)
V
ConcurrentHashMap. updateValue(K key, Function0<? extends V> factory, Function<? super V,? extends V> function)
V
ConcurrentHashMapUnsafe. updateValue(K key, Function0<? extends V> factory, Function<? super V,? extends V> function)
V
ConcurrentMutableHashMap. updateValue(K key, Function0<? extends V> factory, Function<? super V,? extends V> function)
Deprecated.V
UnifiedMap. updateValue(K key, Function0<? extends V> factory, Function<? super V,? extends V> function)
V
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
Methods in org.eclipse.collections.impl.map.mutable.primitive with parameters of type Function0 Modifier and Type Method Description <K, VV> MutableMap<K,VV>
SynchronizedByteObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K, VV> MutableMap<K,VV>
SynchronizedCharObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K, VV> MutableMap<K,VV>
SynchronizedDoubleObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K, VV> MutableMap<K,VV>
SynchronizedFloatObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K, VV> MutableMap<K,VV>
SynchronizedIntObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K, VV> MutableMap<K,VV>
SynchronizedLongObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K, VV> MutableMap<K,VV>
SynchronizedShortObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K, VV> MutableMap<K,VV>
UnmodifiableByteObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K, VV> MutableMap<K,VV>
UnmodifiableCharObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K, VV> MutableMap<K,VV>
UnmodifiableDoubleObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K, VV> MutableMap<K,VV>
UnmodifiableFloatObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K, VV> MutableMap<K,VV>
UnmodifiableIntObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K, VV> MutableMap<K,VV>
UnmodifiableLongObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K, VV> MutableMap<K,VV>
UnmodifiableShortObjectMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<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)
V
ByteObjectHashMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
CharObjectHashMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
DoubleObjectHashMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
FloatObjectHashMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
IntObjectHashMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
LongObjectHashMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
ShortObjectHashMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
SynchronizedByteObjectMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
SynchronizedCharObjectMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
SynchronizedDoubleObjectMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
SynchronizedFloatObjectMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
SynchronizedIntObjectMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
SynchronizedLongObjectMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
SynchronizedShortObjectMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
UnmodifiableByteObjectMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
UnmodifiableCharObjectMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
UnmodifiableDoubleObjectMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
UnmodifiableFloatObjectMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
UnmodifiableIntObjectMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
UnmodifiableLongObjectMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
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)
V
ByteObjectHashMap. getIfAbsent(byte key, Function0<? extends V> ifAbsent)
V
CharObjectHashMap. getIfAbsent(char key, Function0<? extends V> ifAbsent)
V
DoubleObjectHashMap. getIfAbsent(double key, Function0<? extends V> ifAbsent)
V
FloatObjectHashMap. getIfAbsent(float key, Function0<? extends V> ifAbsent)
V
IntObjectHashMap. getIfAbsent(int key, Function0<? extends V> ifAbsent)
V
LongObjectHashMap. getIfAbsent(long key, Function0<? extends V> ifAbsent)
V
ShortObjectHashMap. getIfAbsent(short key, Function0<? extends V> ifAbsent)
V
SynchronizedByteObjectMap. getIfAbsent(byte key, Function0<? extends V> ifAbsent)
V
SynchronizedCharObjectMap. getIfAbsent(char key, Function0<? extends V> ifAbsent)
V
SynchronizedDoubleObjectMap. getIfAbsent(double key, Function0<? extends V> ifAbsent)
V
SynchronizedFloatObjectMap. getIfAbsent(float key, Function0<? extends V> ifAbsent)
V
SynchronizedIntObjectMap. getIfAbsent(int key, Function0<? extends V> ifAbsent)
V
SynchronizedLongObjectMap. getIfAbsent(long key, Function0<? extends V> ifAbsent)
V
SynchronizedShortObjectMap. getIfAbsent(short key, Function0<? extends V> ifAbsent)
V
UnmodifiableByteObjectMap. getIfAbsent(byte key, Function0<? extends V> ifAbsent)
V
UnmodifiableCharObjectMap. getIfAbsent(char key, Function0<? extends V> ifAbsent)
V
UnmodifiableDoubleObjectMap. getIfAbsent(double key, Function0<? extends V> ifAbsent)
V
UnmodifiableFloatObjectMap. getIfAbsent(float key, Function0<? extends V> ifAbsent)
V
UnmodifiableIntObjectMap. getIfAbsent(int key, Function0<? extends V> ifAbsent)
V
UnmodifiableLongObjectMap. getIfAbsent(long key, Function0<? extends V> ifAbsent)
V
UnmodifiableShortObjectMap. getIfAbsent(short key, Function0<? extends V> ifAbsent)
V
ByteObjectHashMap. getIfAbsentPut(byte key, Function0<? extends V> function)
V
CharObjectHashMap. getIfAbsentPut(char key, Function0<? extends V> function)
V
DoubleObjectHashMap. getIfAbsentPut(double key, Function0<? extends V> function)
V
FloatObjectHashMap. getIfAbsentPut(float key, Function0<? extends V> function)
V
IntObjectHashMap. getIfAbsentPut(int key, Function0<? extends V> function)
V
LongObjectHashMap. getIfAbsentPut(long key, Function0<? extends V> function)
V
ShortObjectHashMap. getIfAbsentPut(short key, Function0<? extends V> function)
V
SynchronizedByteObjectMap. getIfAbsentPut(byte key, Function0<? extends V> function)
V
SynchronizedCharObjectMap. getIfAbsentPut(char key, Function0<? extends V> function)
V
SynchronizedDoubleObjectMap. getIfAbsentPut(double key, Function0<? extends V> function)
V
SynchronizedFloatObjectMap. getIfAbsentPut(float key, Function0<? extends V> function)
V
SynchronizedIntObjectMap. getIfAbsentPut(int key, Function0<? extends V> function)
V
SynchronizedLongObjectMap. getIfAbsentPut(long key, Function0<? extends V> function)
V
SynchronizedShortObjectMap. getIfAbsentPut(short key, Function0<? extends V> function)
V
UnmodifiableByteObjectMap. getIfAbsentPut(byte key, Function0<? extends V> function)
V
UnmodifiableCharObjectMap. getIfAbsentPut(char key, Function0<? extends V> function)
V
UnmodifiableDoubleObjectMap. getIfAbsentPut(double key, Function0<? extends V> function)
V
UnmodifiableFloatObjectMap. getIfAbsentPut(float key, Function0<? extends V> function)
V
UnmodifiableIntObjectMap. getIfAbsentPut(int key, Function0<? extends V> function)
V
UnmodifiableLongObjectMap. getIfAbsentPut(long key, Function0<? extends V> function)
V
UnmodifiableShortObjectMap. getIfAbsentPut(short key, Function0<? extends V> function)
V
ByteObjectHashMap. updateValue(byte key, Function0<? extends V> factory, Function<? super V,? extends V> function)
V
CharObjectHashMap. updateValue(char key, Function0<? extends V> factory, Function<? super V,? extends V> function)
V
DoubleObjectHashMap. updateValue(double key, Function0<? extends V> factory, Function<? super V,? extends V> function)
V
FloatObjectHashMap. updateValue(float key, Function0<? extends V> factory, Function<? super V,? extends V> function)
V
IntObjectHashMap. updateValue(int key, Function0<? extends V> factory, Function<? super V,? extends V> function)
V
LongObjectHashMap. updateValue(long key, Function0<? extends V> factory, Function<? super V,? extends V> function)
V
ShortObjectHashMap. updateValue(short key, Function0<? extends V> factory, Function<? super V,? extends V> function)
V
SynchronizedByteObjectMap. updateValue(byte key, Function0<? extends V> factory, Function<? super V,? extends V> function)
V
SynchronizedCharObjectMap. updateValue(char key, Function0<? extends V> factory, Function<? super V,? extends V> function)
V
SynchronizedDoubleObjectMap. updateValue(double key, Function0<? extends V> factory, Function<? super V,? extends V> function)
V
SynchronizedFloatObjectMap. updateValue(float key, Function0<? extends V> factory, Function<? super V,? extends V> function)
V
SynchronizedIntObjectMap. updateValue(int key, Function0<? extends V> factory, Function<? super V,? extends V> function)
V
SynchronizedLongObjectMap. updateValue(long key, Function0<? extends V> factory, Function<? super V,? extends V> function)
V
SynchronizedShortObjectMap. updateValue(short key, Function0<? extends V> factory, Function<? super V,? extends V> function)
V
UnmodifiableByteObjectMap. updateValue(byte key, Function0<? extends V> factory, Function<? super V,? extends V> function)
V
UnmodifiableCharObjectMap. updateValue(char key, Function0<? extends V> factory, Function<? super V,? extends V> function)
V
UnmodifiableDoubleObjectMap. updateValue(double key, Function0<? extends V> factory, Function<? super V,? extends V> function)
V
UnmodifiableFloatObjectMap. updateValue(float key, Function0<? extends V> factory, Function<? super V,? extends V> function)
V
UnmodifiableIntObjectMap. updateValue(int key, Function0<? extends V> factory, Function<? super V,? extends V> function)
V
UnmodifiableLongObjectMap. updateValue(long key, Function0<? extends V> factory, Function<? super V,? extends V> function)
V
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
Methods in org.eclipse.collections.impl.map.ordered.mutable with parameters of type Function0 Modifier and Type Method Description <K2, V2> MutableMap<K2,V2>
OrderedMapAdapter. aggregateBy(Function<? super V,? extends K2> groupBy, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V,? extends V2> nonMutatingAggregator)
<K1, V1, V2> MutableMap<K1,V2>
UnmodifiableMutableOrderedMap. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
<KK, VV> MutableMap<KK,VV>
UnmodifiableMutableOrderedMap. aggregateBy(Function<? super V,? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K2, V2> MutableMap<K2,V2>
OrderedMapAdapter. aggregateInPlaceBy(Function<? super V,? extends K2> groupBy, Function0<? extends V2> zeroValueFactory, Procedure2<? super V2,? super V> mutatingAggregator)
<KK, VV> MutableMap<KK,VV>
UnmodifiableMutableOrderedMap. aggregateInPlaceBy(Function<? super V,? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV,? super V> mutatingAggregator)
V
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)
V
UnmodifiableMutableOrderedMap. getIfAbsent(K key, Function0<? extends V> function)
V
OrderedMapAdapter. getIfAbsentPut(K key, Function0<? extends V> function)
V
UnmodifiableMutableOrderedMap. getIfAbsentPut(K key, Function0<? extends V> function)
V
OrderedMapAdapter. updateValue(K key, Function0<? extends V> factory, Function<? super V,? extends V> function)
V
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
Methods in org.eclipse.collections.impl.map.sorted.immutable with parameters of type Function0 Modifier and Type Method Description <K1, V1, V2> ImmutableMap<K1,V2>
AbstractImmutableSortedMap. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
<K2, V2> ImmutableMap<K2,V2>
AbstractImmutableSortedMap. 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.map.sorted.mutable
Methods in org.eclipse.collections.impl.map.sorted.mutable with parameters of type Function0 Modifier and Type Method Description <K2, V2> MutableMap<K2,V2>
UnmodifiableTreeMap. aggregateBy(Function<? super V,? extends K2> groupBy, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V,? extends V2> nonMutatingAggregator)
<K2, V2> MutableMap<K2,V2>
UnmodifiableTreeMap. aggregateInPlaceBy(Function<? super V,? extends K2> groupBy, Function0<? extends V2> zeroValueFactory, Procedure2<? super V2,? super V> mutatingAggregator)
V
UnmodifiableTreeMap. 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)
V
UnmodifiableTreeMap. getIfAbsent(K key, Function0<? extends V> function)
V
UnmodifiableTreeMap. getIfAbsentPut(K key, Function0<? extends V> function)
V
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
Methods in org.eclipse.collections.impl.map.strategy.mutable with parameters of type Function0 Modifier and Type Method Description V
UnifiedMapWithHashingStrategy. getIfAbsentPut(K key, Function0<? extends V> function)
V
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
Methods in org.eclipse.collections.impl.multimap with parameters of type Function0 Modifier and Type Method Description <R extends Collection<V>>
MutableMap<K,R>AbstractImmutableMultimap. toMap(Function0<R> collectionFactory)
<R extends Collection<V>>
MutableMap<K,R>AbstractMutableMultimap. toMap(Function0<R> collectionFactory)
<R extends Collection<V>>
MutableMap<K,R>AbstractSynchronizedMultimap. toMap(Function0<R> collectionFactory)
-
Uses of Function0 in org.eclipse.collections.impl.parallel
Methods in org.eclipse.collections.impl.parallel with parameters of type Function0 Modifier and Type Method Description static <T, K, V> MutableMap<K,V>
ParallelIterate. aggregateBy(Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
static <T, K, V> MutableMap<K,V>
ParallelIterate. aggregateBy(Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, int batchSize)
static <T, K, V> MutableMap<K,V>
ParallelIterate. aggregateBy(Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, int batchSize, Executor executor)
static <T, K, V, R extends MutableMapIterable<K, V>>
RParallelIterate. aggregateBy(Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, R mutableMap)
static <T, K, V, R extends MutableMapIterable<K, V>>
RParallelIterate. aggregateBy(Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, R mutableMap, int batchSize)
static <T, K, V, R extends MutableMapIterable<K, V>>
RParallelIterate. aggregateBy(Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, R mutableMap, int batchSize, Executor executor)
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
Methods in org.eclipse.collections.impl.stack.mutable with parameters of type Function0 Modifier and Type Method Description <K, V> MutableMap<K,V>
SynchronizedStack. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
<K, V> MutableMap<K,V>
UnmodifiableStack. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
<K, V> MutableMap<K,V>
ArrayStack. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
<K, V> MutableMap<K,V>
SynchronizedStack. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
<K, V> MutableMap<K,V>
UnmodifiableStack. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
T
ArrayStack. detectIfNone(Predicate<? super T> predicate, Function0<? extends T> function)
T
SynchronizedStack. detectIfNone(Predicate<? super T> predicate, Function0<? extends T> function)
T
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
Methods in org.eclipse.collections.impl.utility with parameters of type Function0 Modifier and Type Method Description static <T, K, V> MutableMap<K,V>
ArrayListIterate. aggregateBy(ArrayList<T> list, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
static <T, K, V> MutableMap<K,V>
Iterate. aggregateBy(Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
static <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
Methods in org.eclipse.collections.impl.utility.internal with parameters of type Function0 Modifier and Type Method Description static <T, K, V> MutableMap<K,V>
IterableIterate. aggregateBy(Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
static <T, K, V> MutableMap<K,V>
IteratorIterate. aggregateBy(Iterator<T> iterator, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
static <T, K, V> MutableMap<K,V>
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)