|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.chemistry.opencmis.client.runtime.util.AbstractIterator<T>
T
- the type returned by the iteratorpublic abstract class AbstractIterator<T>
Abstract Iterator
implementation.
Constructor Summary | |
---|---|
protected |
AbstractIterator(long skipCount,
AbstractPageFetcher<T> pageFetcher)
Construct |
Method Summary | |
---|---|
protected AbstractPageFetcher.Page<T> |
getCurrentPage()
Gets the current page of items within collection |
boolean |
getHasMoreItems()
|
long |
getPageNumItems()
|
long |
getPosition()
|
protected long |
getSkipCount()
Gets current skip count |
protected int |
getSkipOffset()
Gets current skip offset (from skip count) |
long |
getTotalNumItems()
|
protected AbstractPageFetcher.Page<T> |
incrementPage()
Skip to the next page of items within collection |
protected int |
incrementSkipOffset()
Increment the skip offset by one |
void |
remove()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Iterator |
---|
hasNext, next |
Constructor Detail |
---|
protected AbstractIterator(long skipCount, AbstractPageFetcher<T> pageFetcher)
skipCount
- pageFetcher
- Method Detail |
---|
public long getPosition()
public long getPageNumItems()
public long getTotalNumItems()
public boolean getHasMoreItems()
public void remove()
remove
in interface java.util.Iterator<T>
protected long getSkipCount()
protected int getSkipOffset()
protected int incrementSkipOffset()
protected AbstractPageFetcher.Page<T> getCurrentPage()
protected AbstractPageFetcher.Page<T> incrementPage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |