Uses of Interface
org.ojalgo.type.function.TwoStepMapper.Combineable
-
Packages that use TwoStepMapper.Combineable Package Description org.ojalgo.concurrent org.ojalgo.data.batch org.ojalgo.type.function -
-
Uses of TwoStepMapper.Combineable in org.ojalgo.concurrent
Methods in org.ojalgo.concurrent with type parameters of type TwoStepMapper.Combineable Modifier and Type Method Description <W,R,A extends TwoStepMapper.Combineable<W,R,A>>
RProcessingService. reduceCombineable(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.Combineable<W,R,A>>
RProcessingService. reduceCombineable(java.util.Collection<W> work, java.util.function.IntSupplier parallelism, java.util.function.Supplier<A> reducer)
<W,R,A extends TwoStepMapper.Combineable<W,R,A>>
RProcessingService. reduceCombineable(java.util.Collection<W> work, java.util.function.Supplier<A> reducer)
Using parallelismParallelism.CORES
. -
Uses of TwoStepMapper.Combineable in org.ojalgo.data.batch
Methods in org.ojalgo.data.batch with type parameters of type TwoStepMapper.Combineable Modifier and Type Method Description <R,A extends TwoStepMapper.Combineable<T,R,A>>
RBatchNode. reduceByCombining(java.util.function.Supplier<A> aggregatorFactory)
CallsBatchNode.processCombineable(Supplier, Consumer)
with theTwoStepMapper.Combineable#merge(Object)
method of a globalTwoStepMapper.Combineable
instance as theconsumer
. -
Uses of TwoStepMapper.Combineable in org.ojalgo.type.function
Classes in org.ojalgo.type.function with type parameters of type TwoStepMapper.Combineable Modifier and Type Interface Description static interface
TwoStepMapper.Combineable<T,R,A extends TwoStepMapper.Combineable<T,R,A>>
Enables combining the state of multiple instances.Classes in org.ojalgo.type.function that implement TwoStepMapper.Combineable 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.Combineable Modifier and Type Method Description static <T,R,A extends TwoStepMapper.Combineable<T,R,A>>
ATwoStepMapper.Combineable. combine2(A target, A other)
static <T,R,A extends TwoStepMapper.Combineable<T,R,A>>
java.util.stream.Collector<T,A,R>TwoStepMapper.Combineable. newCollector(java.util.function.Supplier<A> supplier)
Create a newCollector
that can be used withStream.collect(Collector)
.
-