|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.properties.ResultList<T>
public class ResultList<T>
A number of results.
| Constructor Summary | |
|---|---|
ResultList(int size)
|
|
| Method Summary | |
|---|---|
void |
addResult(Result<T> result)
Adds a result to the list. |
boolean |
allOk()
Returns if all results in the list was either Result.Type.OK or Result.Type.OK_WITH_STATUS. |
boolean |
changed()
Returns if any of the results was considered a change. |
java.util.List<Result<T>> |
getResults()
Returns the results as a non-modifiable list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResultList(int size)
| Method Detail |
|---|
public void addResult(Result<T> result)
result - The result to add. Not null.public boolean allOk()
Result.Type.OK or Result.Type.OK_WITH_STATUS.
Result.Type.OK or Result.Type.OK_WITH_STATUS.public boolean changed()
public java.util.List<Result<T>> getResults()
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||