public class MapResultData extends Object implements ResultData
| Constructor and Description |
|---|
MapResultData() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(ResultDataVisitor<T> visitor)
Accepts the specified visitor.
|
Set<Map.Entry<String,ResultData>> |
entrySet()
Get the entry set.
|
ResultData |
getResult(String name)
Gets the result with the specified name.
|
ResultData |
removeResult(String name)
Removes the result with the specified name.
|
ResultData |
setResult(String name,
ResultData result)
Sets the specified result to the map.
|
String |
toString() |
public <T> T accept(ResultDataVisitor<T> visitor)
ResultDataaccept in interface ResultDataT - type of the results of the ResultDataVisitorvisitor - the visitor (must not be null)public Set<Map.Entry<String,ResultData>> entrySet()
public ResultData getResult(String name)
name - the name of the resultpublic ResultData setResult(String name, ResultData result)
name - the name of the resultresult - the resultpublic ResultData removeResult(String name)
name - the name of the resultCopyright © 1998-2020 Apache Software Foundation. All Rights Reserved.