Package org.ojalgo.concurrent
Class ProcessingService.CallableMapper<W,R>
- java.lang.Object
-
- org.ojalgo.concurrent.ProcessingService.CallableMapper<W,R>
-
- All Implemented Interfaces:
java.util.concurrent.Callable<TwoStepMapper<W,R>>
- Enclosing class:
- ProcessingService
static final class ProcessingService.CallableMapper<W,R> extends java.lang.Object implements java.util.concurrent.Callable<TwoStepMapper<W,R>>
-
-
Constructor Summary
Constructors Constructor Description CallableMapper(java.util.Queue<W> work, TwoStepMapper<W,R> mapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TwoStepMapper<W,R>
call()
-
-
-
Field Detail
-
myMapper
private final TwoStepMapper<W,R> myMapper
-
myWork
private final java.util.Queue<W> myWork
-
-
Constructor Detail
-
CallableMapper
CallableMapper(java.util.Queue<W> work, TwoStepMapper<W,R> mapper)
-
-
Method Detail
-
call
public TwoStepMapper<W,R> call() throws java.lang.Exception
- Specified by:
call
in interfacejava.util.concurrent.Callable<W>
- Throws:
java.lang.Exception
-
-