Uses of Interface
org.eclipse.collections.api.block.function.Function0
-
Packages that use 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.bimap This package contains interfaces for BiMap API.org.eclipse.collections.api.collection org.eclipse.collections.api.factory.list This package contains factory API for creating instances of typeListIterable
.org.eclipse.collections.api.map This package contains interfaces for map API which enhance the performance and functionality ofMap
org.eclipse.collections.api.map.primitive This package contains API for primitive to primitive maps, primitive to object maps and object to primitive maps with mutable and immutable variants.org.eclipse.collections.api.map.sorted This package contains mutable and immutable sorted map interfaces.org.eclipse.collections.api.multimap This package contains interfaces forMultimap
.org.eclipse.collections.api.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 theImmutableBag
interface.org.eclipse.collections.impl.bag.mutable This package contains implementations of theMutableBag
interface.org.eclipse.collections.impl.bimap org.eclipse.collections.impl.bimap.immutable org.eclipse.collections.impl.bimap.mutable This package contains implementations of theMutableBiMap
interface.org.eclipse.collections.impl.block.factory This package contains factory implementations forFunction
,Predicate
,SerializableComparator
andProcedure
.org.eclipse.collections.impl.block.function org.eclipse.collections.impl.block.function.checked org.eclipse.collections.impl.block.procedure This package contains implementations ofProcedure
andProcedure2
.org.eclipse.collections.impl.collection org.eclipse.collections.impl.collection.mutable This package contains implementations of theMutableCollection
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.iterator This package contains implementations of theIterator
interface.org.eclipse.collections.impl.lazy.parallel org.eclipse.collections.impl.lazy.primitive This package contains implementations of the lazy primitive iterator interfaces.org.eclipse.collections.impl.list.immutable This package contains implementations of theImmutableList
interface.org.eclipse.collections.impl.list.mutable This package contains implementations of theMutableList
interface.org.eclipse.collections.impl.map This package contains implementations of theMapIterable
interface.org.eclipse.collections.impl.map.fixed This package contains implementations of theFixedSizeMap
interface.org.eclipse.collections.impl.map.immutable This package contains implementations of theImmutableMap
interface.org.eclipse.collections.impl.map.immutable.primitive This package contains implementations of the immutable primitive-primitive, primitive-object and object-primitive map interfaces.org.eclipse.collections.impl.map.mutable This package contains implementations of theMutableMap
interface.org.eclipse.collections.impl.map.mutable.primitive This package contains implementations of the mutable primitive-primitive, primitive-object and object-primitive map interfaces.org.eclipse.collections.impl.map.ordered.mutable org.eclipse.collections.impl.map.sorted.immutable This package contains implementations of theMutableSortedMap
interface.org.eclipse.collections.impl.map.sorted.mutable This package contains implementations of theMutableSortedMap
interface.org.eclipse.collections.impl.map.strategy.immutable This package contains immutable map implementations backed by hashtables that rely onHashingStrategy
s provided by the developer to compute the hashCode and equals for the objects stored in the map.org.eclipse.collections.impl.map.strategy.mutable This package contains mutable map implementations backed by hashtables that rely onHashingStrategy
s provided by the developer to compute the hashCode and equals for the objects stored in the map.org.eclipse.collections.impl.multimap This package contains implementations of theMultimap
interface.org.eclipse.collections.impl.parallel This package contains classes which is used for parallel iteration through the containers.org.eclipse.collections.impl.set.immutable This package contains the implementations ofImmutableSet
.org.eclipse.collections.impl.stack.immutable This package contains implementations of theImmutableStack
interface.org.eclipse.collections.impl.stack.mutable This package contains implementations of theMutableStack
interface.org.eclipse.collections.impl.utility This package contains static utilities that provide iteration pattern implementations which work with JCF collections.org.eclipse.collections.impl.utility.internal This package contains static utilities that provide internal iteration pattern implementations which work with JCF collections. -
-
Uses of 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.bimap
Methods in org.eclipse.collections.api.bimap with parameters of type Function0 Modifier and Type Method Description default <K1,V1,V2>
ImmutableMap<K1,V2>ImmutableBiMap. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
default <KK,VV>
ImmutableMap<KK,VV>ImmutableBiMap. aggregateBy(Function<? super V,? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
default <K1,V1,V2>
MutableMap<K1,V2>MutableBiMap. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
default <KK,VV>
MutableMap<KK,VV>MutableBiMap. aggregateBy(Function<? super V,? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
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
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>
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)
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 java.util.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 T
ImmutableEmptyBag. detectIfNone(Predicate<? super T> predicate, Function0<? extends T> function)
T
ImmutableHashBag. detectIfNone(Predicate<? super T> predicate, Function0<? extends T> function)
T
ImmutableSingletonBag. detectIfNone(Predicate<? super T> predicate, Function0<? extends T> function)
<P> T
ImmutableEmptyBag. detectWithIfNone(Predicate2<? super T,? super P> predicate, P parameter, 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 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>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)
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
AbstractMutableBiMap. getIfAbsentPut(K key, Function0<? extends V> function)
V
UnmodifiableBiMap. getIfAbsentPut(K key, Function0<? extends V> function)
V
AbstractMutableBiMap. updateValue(K key, Function0<? extends V> factory, Function<? super V,? extends V> function)
V
UnmodifiableBiMap. updateValue(K key, Function0<? extends V> factory, Function<? super V,? extends V> function)
<P> V
AbstractMutableBiMap. updateValueWith(K key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
<P> V
UnmodifiableBiMap. updateValueWith(K key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
-
Uses of Function0 in org.eclipse.collections.impl.block.factory
Classes in org.eclipse.collections.impl.block.factory that implement Function0 Modifier and Type Class Description private static class
Functions0.AtomicIntegerZeroFunction
private static class
Functions0.AtomicLongZeroFunction
private static class
Functions0.BigDecimalZeroFunction
private static class
Functions0.BigIntegerZeroFunction
private static class
Functions0.FalseFunction
private static class
Functions0.IntegerZeroFunction
private static class
Functions0.NewFastListFunction<T>
private static class
Functions0.NewHashBagFunction<T>
private static class
Functions0.NewUnifiedMapFunction<K,V>
private static class
Functions0.NewUnifiedSetFunction<T>
private static class
Functions0.NullFunction<T>
private static class
Functions0.ThrowingFunction0Adapter<T>
private static class
Functions0.TrueFunction
Methods in org.eclipse.collections.impl.block.factory that return Function0 Modifier and Type Method Description static Function0<java.lang.Boolean>
Functions0. getFalse()
static Function0<java.lang.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 java.lang.Throwable,? extends java.lang.RuntimeException> rethrow)
Allows a lambda or anonymous inner class that needs to throw a checked exception to be safely wrapped as a Function0 that will throw a user specified RuntimeException based on the provided function.static <T> Function0<T>
Functions0. value(T t)
static Function0<java.util.concurrent.atomic.AtomicInteger>
Functions0. zeroAtomicInteger()
static Function0<java.util.concurrent.atomic.AtomicLong>
Functions0. zeroAtomicLong()
static Function0<java.math.BigDecimal>
Functions0. zeroBigDecimal()
static Function0<java.math.BigInteger>
Functions0. zeroBigInteger()
static Function0<java.lang.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
Fields in org.eclipse.collections.impl.block.procedure declared as Function0 Modifier and Type Field Description private Function0<? extends V>
MutatingAggregationProcedure. zeroValueFactory
private Function0<? extends V>
NonMutatingAggregationProcedure. zeroValueFactory
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.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>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)
T
AbstractCollectionAdapter. detectIfNone(Predicate<? super T> predicate, Function0<? extends T> function)
T
AbstractMultiReaderMutableCollection. detectIfNone(Predicate<? super T> predicate, Function0<? extends T> function)
T
AbstractMultiReaderMutableCollection.UntouchableMutableCollection. 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
AbstractMultiReaderMutableCollection.UntouchableMutableCollection. 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>>
java.util.stream.Collector<T,?,R>Collectors2. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends T> zeroValueFactory, Function2<? super T,? super T,? extends T> aggregator, java.util.function.Supplier<R> supplier)
Groups the elements using thegroupBy
function and all the elements that map to the same key are aggregated together using theaggregator
function. -
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(java.lang.Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
static <T,K,V>
MutableMap<K,V>FJIterate. aggregateBy(java.lang.Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, int batchSize)
static <T,K,V>
MutableMap<K,V>FJIterate. aggregateBy(java.lang.Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, int batchSize, java.util.concurrent.ForkJoinPool executor)
static <T,K,V,R extends MutableMapIterable<K,V>>
RFJIterate. aggregateBy(java.lang.Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, R mutableMap)
static <T,K,V,R extends MutableMapIterable<K,V>>
RFJIterate. aggregateBy(java.lang.Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, R mutableMap, int batchSize)
static <T,K,V,R extends MutableMapIterable<K,V>>
RFJIterate. aggregateBy(java.lang.Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, R mutableMap, int batchSize, java.util.concurrent.ForkJoinPool executor)
static <T,K,V>
MutableMap<K,V>FJIterate. aggregateInPlaceBy(java.lang.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(java.lang.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(java.lang.Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator, int batchSize, java.util.concurrent.ForkJoinPool executor)
static <T,K,V,R extends MutableMapIterable<K,V>>
RFJIterate. aggregateInPlaceBy(java.lang.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(java.lang.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(java.lang.Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator, R mutableMap, int batchSize, java.util.concurrent.ForkJoinPool executor)
-
Uses of Function0 in org.eclipse.collections.impl.lazy.iterator
Fields in org.eclipse.collections.impl.lazy.iterator declared as Function0 Modifier and Type Field Description private Function0<MutableCollection<T>>
ChunkIterator. speciesNewStrategy
-
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.lazy.primitive
Fields in org.eclipse.collections.impl.lazy.primitive declared as Function0 Modifier and Type Field Description private Function0<MutableBooleanCollection>
ChunkBooleanIterable.ChunkBooleanIterator. speciesNewStrategy
private Function0<MutableByteCollection>
ChunkByteIterable.ChunkByteIterator. speciesNewStrategy
private Function0<MutableCharCollection>
ChunkCharIterable.ChunkCharIterator. speciesNewStrategy
private Function0<MutableDoubleCollection>
ChunkDoubleIterable.ChunkDoubleIterator. speciesNewStrategy
private Function0<MutableFloatCollection>
ChunkFloatIterable.ChunkFloatIterator. speciesNewStrategy
private Function0<MutableIntCollection>
ChunkIntIterable.ChunkIntIterator. speciesNewStrategy
private Function0<MutableLongCollection>
ChunkLongIterable.ChunkLongIterator. speciesNewStrategy
private Function0<MutableShortCollection>
ChunkShortIterable.ChunkShortIterator. speciesNewStrategy
-
Uses of Function0 in org.eclipse.collections.impl.list.immutable
Methods in org.eclipse.collections.impl.list.immutable with parameters of type Function0 Modifier and Type Method Description T
ImmutableEmptyList. detectIfNone(Predicate<? super T> predicate, 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>
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)
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.fixed
Methods in org.eclipse.collections.impl.map.fixed with parameters of type Function0 Modifier and Type Method Description V
AbstractMemoryEfficientMutableMap. updateValue(K key, Function0<? extends V> factory, Function<? super V,? extends V> function)
<P> V
AbstractMemoryEfficientMutableMap. 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)
V
ImmutableEmptyMap. getIfAbsent(K key, Function0<? extends V> function)
V
ImmutableUnifiedMap. getIfAbsent(K key, Function0<? extends V> function)
-
Uses of Function0 in org.eclipse.collections.impl.map.immutable.primitive
Methods in org.eclipse.collections.impl.map.immutable.primitive with parameters of type Function0 Modifier and Type Method Description <K,VV>
ImmutableMap<K,VV>ImmutableByteObjectHashMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K,VV>
ImmutableMap<K,VV>ImmutableCharObjectHashMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K,VV>
ImmutableMap<K,VV>ImmutableDoubleObjectHashMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K,VV>
ImmutableMap<K,VV>ImmutableFloatObjectHashMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K,VV>
ImmutableMap<K,VV>ImmutableIntObjectHashMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K,VV>
ImmutableMap<K,VV>ImmutableLongObjectHashMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
<K,VV>
ImmutableMap<K,VV>ImmutableShortObjectHashMap. aggregateBy(Function<? super V,? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
V
ImmutableByteObjectEmptyMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
ImmutableByteObjectHashMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
ImmutableByteObjectSingletonMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
ImmutableCharObjectEmptyMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
ImmutableCharObjectHashMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
ImmutableCharObjectSingletonMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
ImmutableDoubleObjectEmptyMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
ImmutableDoubleObjectHashMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
ImmutableDoubleObjectSingletonMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
ImmutableFloatObjectEmptyMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
ImmutableFloatObjectHashMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
ImmutableFloatObjectSingletonMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
ImmutableIntObjectEmptyMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
ImmutableIntObjectHashMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
ImmutableIntObjectSingletonMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
ImmutableLongObjectEmptyMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
ImmutableLongObjectHashMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
ImmutableLongObjectSingletonMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
ImmutableShortObjectEmptyMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
ImmutableShortObjectHashMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
V
ImmutableShortObjectSingletonMap. detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
<P> V
ImmutableByteObjectEmptyMap. detectWithIfNone(Predicate2<? super V,? super P> predicate, P parameter, Function0<? extends V> function)
<P> V
ImmutableByteObjectHashMap. detectWithIfNone(Predicate2<? super V,? super P> predicate, P parameter, Function0<? extends V> function)
<P> V
ImmutableByteObjectSingletonMap. detectWithIfNone(Predicate2<? super V,? super P> predicate, P parameter, Function0<? extends V> function)
<P> V
ImmutableCharObjectEmptyMap. detectWithIfNone(Predicate2<? super V,? super P> predicate, P parameter, Function0<? extends V> function)
<P> V
ImmutableCharObjectHashMap. detectWithIfNone(Predicate2<? super V,? super P> predicate, P parameter, Function0<? extends V> function)
<P> V
ImmutableCharObjectSingletonMap. detectWithIfNone(Predicate2<? super V,? super P> predicate, P parameter, Function0<? extends V> function)
<P> V
ImmutableDoubleObjectEmptyMap. detectWithIfNone(Predicate2<? super V,? super P> predicate, P parameter, Function0<? extends V> function)
<P> V
ImmutableDoubleObjectHashMap. detectWithIfNone(Predicate2<? super V,? super P> predicate, P parameter, Function0<? extends V> function)
<P> V
ImmutableDoubleObjectSingletonMap. detectWithIfNone(Predicate2<? super V,? super P> predicate, P parameter, Function0<? extends V> function)
<P> V
ImmutableFloatObjectEmptyMap. detectWithIfNone(Predicate2<? super V,? super P> predicate, P parameter, Function0<? extends V> function)
<P> V
ImmutableFloatObjectHashMap. detectWithIfNone(Predicate2<? super V,? super P> predicate, P parameter, Function0<? extends V> function)
<P> V
ImmutableFloatObjectSingletonMap. detectWithIfNone(Predicate2<? super V,? super P> predicate, P parameter, Function0<? extends V> function)
<P> V
ImmutableIntObjectEmptyMap. detectWithIfNone(Predicate2<? super V,? super P> predicate, P parameter, Function0<? extends V> function)
<P> V
ImmutableIntObjectHashMap. detectWithIfNone(Predicate2<? super V,? super P> predicate, P parameter, Function0<? extends V> function)
<P> V
ImmutableIntObjectSingletonMap. detectWithIfNone(Predicate2<? super V,? super P> predicate, P parameter, Function0<? extends V> function)
<P> V
ImmutableLongObjectEmptyMap. detectWithIfNone(Predicate2<? super V,? super P> predicate, P parameter, Function0<? extends V> function)
<P> V
ImmutableLongObjectHashMap. detectWithIfNone(Predicate2<? super V,? super P> predicate, P parameter, Function0<? extends V> function)
<P> V
ImmutableLongObjectSingletonMap. detectWithIfNone(Predicate2<? super V,? super P> predicate, P parameter, Function0<? extends V> function)
<P> V
ImmutableShortObjectEmptyMap. detectWithIfNone(Predicate2<? super V,? super P> predicate, P parameter, Function0<? extends V> function)
<P> V
ImmutableShortObjectHashMap. detectWithIfNone(Predicate2<? super V,? super P> predicate, P parameter, Function0<? extends V> function)
<P> V
ImmutableShortObjectSingletonMap. detectWithIfNone(Predicate2<? super V,? super P> predicate, P parameter, Function0<? extends V> function)
V
ImmutableByteObjectEmptyMap. getIfAbsent(byte key, Function0<? extends V> ifAbsent)
V
ImmutableByteObjectHashMap. getIfAbsent(byte key, Function0<? extends V> ifAbsent)
V
ImmutableByteObjectSingletonMap. getIfAbsent(byte key, Function0<? extends V> ifAbsent)
V
ImmutableCharObjectEmptyMap. getIfAbsent(char key, Function0<? extends V> ifAbsent)
V
ImmutableCharObjectHashMap. getIfAbsent(char key, Function0<? extends V> ifAbsent)
V
ImmutableCharObjectSingletonMap. getIfAbsent(char key, Function0<? extends V> ifAbsent)
V
ImmutableDoubleObjectEmptyMap. getIfAbsent(double key, Function0<? extends V> ifAbsent)
V
ImmutableDoubleObjectHashMap. getIfAbsent(double key, Function0<? extends V> ifAbsent)
V
ImmutableDoubleObjectSingletonMap. getIfAbsent(double key, Function0<? extends V> ifAbsent)
V
ImmutableFloatObjectEmptyMap. getIfAbsent(float key, Function0<? extends V> ifAbsent)
V
ImmutableFloatObjectHashMap. getIfAbsent(float key, Function0<? extends V> ifAbsent)
V
ImmutableFloatObjectSingletonMap. getIfAbsent(float key, Function0<? extends V> ifAbsent)
V
ImmutableIntObjectEmptyMap. getIfAbsent(int key, Function0<? extends V> ifAbsent)
V
ImmutableIntObjectHashMap. getIfAbsent(int key, Function0<? extends V> ifAbsent)
V
ImmutableIntObjectSingletonMap. getIfAbsent(int key, Function0<? extends V> ifAbsent)
V
ImmutableLongObjectEmptyMap. getIfAbsent(long key, Function0<? extends V> ifAbsent)
V
ImmutableLongObjectHashMap. getIfAbsent(long key, Function0<? extends V> ifAbsent)
V
ImmutableLongObjectSingletonMap. getIfAbsent(long key, Function0<? extends V> ifAbsent)
V
ImmutableShortObjectEmptyMap. getIfAbsent(short key, Function0<? extends V> ifAbsent)
V
ImmutableShortObjectHashMap. getIfAbsent(short key, Function0<? extends V> ifAbsent)
V
ImmutableShortObjectSingletonMap. getIfAbsent(short key, Function0<? extends V> ifAbsent)
-
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>SynchronizedMutableMap. aggregateBy(Function<? super K,? extends K1> keyFunction, Function<? super V,? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2,? super V1,? extends V2> nonMutatingAggregator)
<KK,VV>
MutableMap<KK,VV>SynchronizedMutableMap. aggregateBy(Function<? super V,? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV,? super V,? extends VV> nonMutatingAggregator)
private V
UnifiedMap. chainedGetIfAbsentPut(K key, int index, Function0<? extends V> function)
private V
UnifiedMap. chainedUpdateValue(K key, int index, Function0<? extends V> factory, Function<? super V,? extends V> function)
private <P> V
UnifiedMap. chainedUpdateValueWith(K key, int index, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
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)
private V
ConcurrentHashMap. slowUpdateValue(K key, Function0<? extends V> factory, Function<? super V,? extends V> function, int hash, java.util.concurrent.atomic.AtomicReferenceArray currentArray)
private V
ConcurrentHashMapUnsafe. slowUpdateValue(K key, Function0<? extends V> factory, Function<? super V,? extends V> function, int hash, java.lang.Object[] currentArray)
private <P> V
ConcurrentHashMap. slowUpdateValueWith(K key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter, int hash, java.util.concurrent.atomic.AtomicReferenceArray currentArray)
private <P> V
ConcurrentHashMapUnsafe. slowUpdateValueWith(K key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter, int hash, java.lang.Object[] currentArray)
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 <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)
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)
V
ImmutableEmptySortedMap. getIfAbsent(K key, Function0<? extends V> function)
-
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 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.immutable
Methods in org.eclipse.collections.impl.map.strategy.immutable with parameters of type Function0 Modifier and Type Method Description V
ImmutableEmptyMapWithHashingStrategy. getIfAbsent(K key, Function0<? extends V> function)
-
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 private V
UnifiedMapWithHashingStrategy. chainedGetIfAbsentPut(K key, int index, Function0<? extends V> function)
private V
UnifiedMapWithHashingStrategy. chainedUpdateValue(K key, int index, Function0<? extends V> factory, Function<? super V,? extends V> function)
private <P> V
UnifiedMapWithHashingStrategy. chainedUpdateValueWith(K key, int index, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
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 java.util.Collection<V>>
MutableMap<K,R>AbstractImmutableMultimap. toMap(Function0<R> collectionFactory)
<R extends java.util.Collection<V>>
MutableMap<K,R>AbstractMutableMultimap. toMap(Function0<R> collectionFactory)
<R extends java.util.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(java.lang.Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
static <T,K,V>
MutableMap<K,V>ParallelIterate. aggregateBy(java.lang.Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, int batchSize)
static <T,K,V>
MutableMap<K,V>ParallelIterate. aggregateBy(java.lang.Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, int batchSize, java.util.concurrent.Executor executor)
static <T,K,V,R extends MutableMapIterable<K,V>>
RParallelIterate. aggregateBy(java.lang.Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, R mutableMap)
static <T,K,V,R extends MutableMapIterable<K,V>>
RParallelIterate. aggregateBy(java.lang.Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, R mutableMap, int batchSize)
static <T,K,V,R extends MutableMapIterable<K,V>>
RParallelIterate. aggregateBy(java.lang.Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator, R mutableMap, int batchSize, java.util.concurrent.Executor executor)
static <T,K,V>
MutableMap<K,V>ParallelIterate. aggregateInPlaceBy(java.lang.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(java.lang.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(java.lang.Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator, int batchSize, java.util.concurrent.Executor executor)
static <T,K,V,R extends MutableMapIterable<K,V>>
RParallelIterate. aggregateInPlaceBy(java.lang.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(java.lang.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(java.lang.Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator, R mutableMap, int batchSize, java.util.concurrent.Executor executor)
-
Uses of Function0 in org.eclipse.collections.impl.set.immutable
Methods in org.eclipse.collections.impl.set.immutable with parameters of type Function0 Modifier and Type Method Description T
ImmutableEmptySet. detectIfNone(Predicate<? super T> predicate, Function0<? extends T> function)
-
Uses of Function0 in org.eclipse.collections.impl.stack.immutable
Methods in org.eclipse.collections.impl.stack.immutable with parameters of type Function0 Modifier and Type Method Description <K,V>
ImmutableMap<K,V>ImmutableEmptyStack. aggregateBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
<K,V>
ImmutableMap<K,V>ImmutableEmptyStack. aggregateInPlaceBy(Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
T
ImmutableArrayStack. detectIfNone(Predicate<? super T> predicate, Function0<? extends T> function)
Deprecated.T
ImmutableEmptyStack. detectIfNone(Predicate<? super T> predicate, Function0<? extends T> function)
<P> T
ImmutableArrayStack. detectWithIfNone(Predicate2<? super T,? super P> predicate, P parameter, Function0<? extends T> function)
Deprecated.<P> T
ImmutableEmptyStack. detectWithIfNone(Predicate2<? super T,? super P> predicate, P parameter, Function0<? extends T> function)
-
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>SynchronizedStack. 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(java.util.ArrayList<T> list, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
static <T,K,V>
MutableMap<K,V>Iterate. aggregateBy(java.lang.Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
static <T,K,V>
MutableMap<K,V>ArrayListIterate. aggregateInPlaceBy(java.util.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(java.lang.Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
static <K,V>
VMapIterate. getIfAbsent(java.util.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>
VMapIterate. getIfAbsentPut(java.util.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(java.lang.Iterable<T> iterable, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
static <T,K,V>
MutableMap<K,V>IteratorIterate. aggregateBy(java.util.Iterator<T> iterator, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V,? super T,? extends V> nonMutatingAggregator)
static <T,K,V>
MutableMap<K,V>IteratorIterate. aggregateBy(java.util.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(java.util.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(java.lang.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(java.util.List<T> list, Function<? super T,? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V,? super T> mutatingAggregator)
-