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