- All Implemented Interfaces:
Result
public class ResultContainer
extends Object
implements Result
Container of
Result instances.
- Author:
- Franz-Josef Elmer
-
Constructor Summary
Constructors
-
Method Summary
void
int
Returns the number of added results.
Returns the result with specified index.
boolean
Returns
true if all added
Result instances returned
true.
-
Constructor Details
-
ResultContainer
public ResultContainer()
-
Method Details
-
add
public void add(Result result)
Adds a result.
-
getNumberOfResults
public int getNumberOfResults()
Returns the number of added results.
-
getResult
public Result getResult(int index)
Returns the result with specified index.
-
isOk
public boolean isOk()
Returns
true if all added
Result instances returned
true.
- Specified by:
isOk in interface Result
-