org.LexGrid.LexBIG.Impl.pagedgraph.paging
Class RootConceptReferenceIterator
java.lang.Object
org.lexevs.paging.AbstractPageableIterator<ConceptReference>
org.LexGrid.LexBIG.Impl.pagedgraph.paging.RootConceptReferenceIterator
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Iterable<ConceptReference>, java.util.Iterator<ConceptReference>
public class RootConceptReferenceIterator
- extends AbstractPageableIterator<ConceptReference>
The Class AssociatedConceptIterator.
- Author:
- Kevin Peterson
- See Also:
- Serialized Form
Method Summary |
protected java.util.List<? extends ConceptReference> |
doPage(int currentPosition,
int pageSize)
Returns a page of results. |
Methods inherited from class org.lexevs.paging.AbstractPageableIterator |
decorateNext, doExecutePage, getGlobalPosition, getPageSize, hasNext, isDecorateNext, isPageNeeded, iterator, next, page, pageIfNecessary, remove, setDecorateNext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RootConceptReferenceIterator
public RootConceptReferenceIterator(java.lang.String codingSchemeUri,
java.lang.String version,
java.lang.String containerName,
RootsResolver.ResolveDirection direction,
GraphQuery graphQuery,
SortOptionList sortOptionList)
doPage
protected java.util.List<? extends ConceptReference> doPage(int currentPosition,
int pageSize)
- Description copied from class:
AbstractPageableIterator
- Returns a page of results.
NOTE: 'pageSize' is not binding -- it is the suggested page size.
Implementing classes may return more or less than the suggested
'pageSize' parameter, although it is generally recommended to abide
by the 'pageSize' parameter when possible.
A null or empty list returned from this method will signify
that the underlying results are exhausted and paging should halt.
- Specified by:
doPage
in class AbstractPageableIterator<ConceptReference>
- Parameters:
currentPosition
- the current positionpageSize
- the page size
- Returns:
- the list extends t>