Package org.graffiti.plugin.algorithm
Class DefaultAlgorithmResult
java.lang.Object
org.graffiti.plugin.algorithm.DefaultAlgorithmResult
- All Implemented Interfaces:
AlgorithmResult
public class DefaultAlgorithmResult extends Object implements AlgorithmResult
DOCUMENT ME!
- Author:
- Paul
-
Constructor Summary
Constructors Constructor Description DefaultAlgorithmResult()
Constructor for DefaultAlgorithmResult.DefaultAlgorithmResult(Map<String,Object> resultMap)
Constructor for DefaultAlgorithmResult. -
Method Summary
-
Constructor Details
-
DefaultAlgorithmResult
public DefaultAlgorithmResult()Constructor for DefaultAlgorithmResult. -
DefaultAlgorithmResult
Constructor for DefaultAlgorithmResult.- Parameters:
resultMap
- DOCUMENT ME!
-
-
Method Details
-
getResult
Description copied from interface:AlgorithmResult
Returns theMap
. This function is intended to be used by other components that want to display the results.- Specified by:
getResult
in interfaceAlgorithmResult
- Returns:
- DOCUMENT ME!
- See Also:
AlgorithmResult.getResult()
-
addToResult
Description copied from interface:AlgorithmResult
Adds a key-value pair to theMap
.- Specified by:
addToResult
in interfaceAlgorithmResult
- Parameters:
key
- the key for the result.value
- the value of the result.
-