org.apache.chemistry.opencmis.client.runtime.util
Class CollectionIterator<T>

java.lang.Object
  extended by org.apache.chemistry.opencmis.client.runtime.util.AbstractIterator<T>
      extended by org.apache.chemistry.opencmis.client.runtime.util.CollectionIterator<T>
Type Parameters:
T -
All Implemented Interfaces:
java.util.Iterator<T>

public class CollectionIterator<T>
extends AbstractIterator<T>

Iterator for iterating over all items in a CMIS Collection.


Constructor Summary
CollectionIterator(long skipCount, AbstractPageFetcher<T> pageFetcher)
          Construct
 
Method Summary
 boolean hasNext()
           
 T next()
           
 
Methods inherited from class org.apache.chemistry.opencmis.client.runtime.util.AbstractIterator
getCurrentPage, getHasMoreItems, getPageNumItems, getPosition, getSkipCount, getSkipOffset, getTotalNumItems, incrementPage, incrementSkipOffset, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionIterator

public CollectionIterator(long skipCount,
                          AbstractPageFetcher<T> pageFetcher)
Construct

Parameters:
skipCount -
pageFetcher -
Method Detail

hasNext

public boolean hasNext()

next

public T next()


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.