public class RequestCallable
extends java.lang.Object
implements java.util.concurrent.Callable<java.lang.Double>
Constructor and Description |
---|
RequestCallable(java.util.HashMap<java.lang.String,java.lang.Double> actions)
Instantiates a new request callable.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
call() |
void |
setAMOEBA(AMOEBA amoeba)
Sets the amoeba.
|
public RequestCallable(java.util.HashMap<java.lang.String,java.lang.Double> actions)
actions
- the actionspublic void setAMOEBA(AMOEBA amoeba)
amoeba
- the new amoebapublic java.lang.Double call() throws java.lang.Exception
call
in interface java.util.concurrent.Callable<java.lang.Double>
java.lang.Exception