public class MapResultData extends Object implements ResultData
Constructor and Description |
---|
MapResultData() |
Modifier and Type | Method and Description |
---|---|
<TVisit> TVisit |
accept(ResultDataVisitor<TVisit> 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.
|
public <TVisit> TVisit accept(ResultDataVisitor<TVisit> visitor)
ResultData
accept
in interface ResultData
visitor
- 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-2016 Apache Software Foundation. All Rights Reserved.