T
- You can define your own T as mentioned abovepublic class StrategyResult<T> extends Object
You can create your own object of type T. In case you want to convert your custom output to JSON or XML, you can use DataFormatHelper class to do the required transformation
Constructor and Description |
---|
StrategyResult() |
Modifier and Type | Method and Description |
---|---|
double |
getFrequency() |
T |
getResult() |
String |
getStrategyName() |
void |
setFrequency(double frequency) |
void |
setResult(T result) |
void |
setStrategyName(String stategyName) |
String |
toString() |
Copyright © 2016–2019. All rights reserved.