|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsbrt.kernel.io.AbstractResultsManager<R>
sbrt.kernel.io.ListResultsManager<R>
R
- the result type.public class ListResultsManager<R>
This class is used to store a list of results that can be easily retrieved.
Constructor Summary | |
---|---|
ListResultsManager()
Constructs a new list-based results manager. |
Method Summary | ||
---|---|---|
|
addData(S results)
Adds the provided results to this results manager. |
|
java.util.List<R> |
getResults()
Returns a copy of the list of results added to this results manager. |
|
UnmodifiableIterator<R> |
iterator()
Returns an iterator over the list of results. |
Methods inherited from class sbrt.kernel.io.AbstractResultsManager |
---|
breakPoint, checkState, close, getName, isClosed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ListResultsManager()
Method Detail |
---|
public UnmodifiableIterator<R> iterator()
iterator
in interface java.lang.Iterable<R>
public java.util.List<R> getResults()
public <S extends R> void addData(S results)
addData
in interface ResultsManager<R>
S
- a type extending the primary result type.results
- the results to be stored.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |