Class CmsObjectListLimiter<A>

java.lang.Object
org.opencms.cmis.CmsObjectListLimiter<A>
Type Parameters:
A - the content type of the list
All Implemented Interfaces:
Iterable<A>, Iterator<A>

public class CmsObjectListLimiter<A> extends Object implements Iterable<A>, Iterator<A>
Helper class to ease implementation of CMIS service methods which support paging.

This class works as an iterator for a given list, and limits the number of iterations based on skip/max parameters which are usually passed to the service methods.