public class ProjectionResultsIterator extends Object implements IProjectionResultsIterator
Constructor and Description |
---|
ProjectionResultsIterator(org.hibernate.SessionFactory sessionFactory,
int projectionID)
Instantiates a new projection results iterator.
|
Modifier and Type | Method and Description |
---|---|
void |
clearFromCache(ResultsOfTrial resultsOfTrial)
Clears result from cache.
|
ResultsOfTrial |
getNextResult()
Gets the next result.
|
boolean |
hasNext() |
Iterator<ResultsOfTrial> |
iterator() |
ResultsOfTrial |
next() |
void |
remove() |
public ProjectionResultsIterator(org.hibernate.SessionFactory sessionFactory, int projectionID)
sessionFactory
- the session factoryprojectionID
- the projection IDpublic ResultsOfTrial getNextResult()
IProjectionResultsIterator
getNextResult
in interface IProjectionResultsIterator
public void clearFromCache(ResultsOfTrial resultsOfTrial)
resultsOfTrial
- the trial results to be cleared from the cachepublic Iterator<ResultsOfTrial> iterator()
iterator
in interface Iterable<ResultsOfTrial>
public boolean hasNext()
hasNext
in interface Iterator<ResultsOfTrial>
public ResultsOfTrial next()
next
in interface Iterator<ResultsOfTrial>
public void remove()
remove
in interface Iterator<ResultsOfTrial>
Copyright © 2012. All Rights Reserved.