Uses of Interface
org.ojalgo.type.function.TwoStepMapper.Mergeable
-
Packages that use TwoStepMapper.Mergeable Package Description org.ojalgo.concurrent org.ojalgo.data.batch org.ojalgo.type.function -
-
Uses of TwoStepMapper.Mergeable in org.ojalgo.concurrent
Methods in org.ojalgo.concurrent with type parameters of type TwoStepMapper.Mergeable Modifier and Type Method Description <W,R,A extends TwoStepMapper.Mergeable<W,R>>
RProcessingService. reduceMergeable(java.util.Collection<W> work, int parallelism, java.util.function.Supplier<A> reducer)
Will create at mostparallelism
tasks to work through thework
items, processing them withreducer
.<W,R,A extends TwoStepMapper.Mergeable<W,R>>
RProcessingService. reduceMergeable(java.util.Collection<W> work, java.util.function.IntSupplier parallelism, java.util.function.Supplier<A> reducer)
<W,R,A extends TwoStepMapper.Mergeable<W,R>>
RProcessingService. reduceMergeable(java.util.Collection<W> work, java.util.function.Supplier<A> reducer)
Using parallelismParallelism.CORES
.Method parameters in org.ojalgo.concurrent with type arguments of type TwoStepMapper.Mergeable Modifier and Type Method Description <W,R>
RProcessingService. reduce(java.util.Collection<W> work, int parallelism, java.util.function.Supplier<? extends TwoStepMapper.Mergeable<W,R>> reducer)
Deprecated.v54 Use#reduceMergeable(Collection
instead,int,Supplier extends TwoStepMapper.Mergeable >) <W,R>
RProcessingService. reduce(java.util.Collection<W> work, java.util.function.IntSupplier parallelism, java.util.function.Supplier<? extends TwoStepMapper.Mergeable<W,R>> reducer)
Deprecated.v54 Use#reduceMergeable(Collection
instead,IntSupplier,Supplier extends TwoStepMapper.Mergeable >) <W,R>
RProcessingService. reduce(java.util.Collection<W> work, java.util.function.Supplier<? extends TwoStepMapper.Mergeable<W,R>> reducer)
Deprecated.v54 Use#reduceMergeable(Collection
instead,Supplier extends TwoStepMapper.Mergeable >) -
Uses of TwoStepMapper.Mergeable in org.ojalgo.data.batch
Methods in org.ojalgo.data.batch with type parameters of type TwoStepMapper.Mergeable Modifier and Type Method Description <R,A extends TwoStepMapper.Mergeable<T,R>>
RBatchNode. reduceByMerging(java.util.function.Supplier<A> aggregatorFactory)
CallsBatchNode.processMergeable(Supplier, Consumer)
with themerge(Object)
method of a globalTwoStepMapper.Mergeable
instance as theconsumer
.<R,A extends TwoStepMapper.Mergeable<T,R>>
RBatchNode. reduceMapped(java.util.function.Supplier<A> aggregatorFactory)
Deprecated.v54 Use#reduceByMerging(Supplier)
instead -
Uses of TwoStepMapper.Mergeable in org.ojalgo.type.function
Classes in org.ojalgo.type.function that implement TwoStepMapper.Mergeable Modifier and Type Class Description static class
TwoStepMapper.KeyCounter<T,G>
A frequency counter that optionally filters some elements when merging subresults.static class
TwoStepMapper.SimpleCache<K,V>
Will calculate the function value for each input item, and cache the result.Methods in org.ojalgo.type.function with type parameters of type TwoStepMapper.Mergeable Modifier and Type Method Description static <T,R,A extends TwoStepMapper.Mergeable<T,R>>
ATwoStepMapper.Mergeable. merge2(A target, A other)
static <T,R,A extends TwoStepMapper.Mergeable<T,R>>
java.util.stream.Collector<T,A,R>TwoStepMapper.Mergeable. newCollector(java.util.function.Supplier<A> supplier)
Create a newCollector
that can be used withStream.collect(Collector)
.
-