public class VersionListIterator extends AbstractRangeIterator implements javax.jcr.version.VersionIterator
| Constructor and Description |
|---|
VersionListIterator(VersionHistoryImpl versionHistory,
java.util.List versions)
Construct
|
| Modifier and Type | Method and Description |
|---|---|
long |
getSize() |
java.lang.Object |
next() |
javax.jcr.version.Version |
nextVersion() |
getPosition, hasNext, remove, skip, skippublic VersionListIterator(VersionHistoryImpl versionHistory, java.util.List versions)
context - session contextversions - version listpublic javax.jcr.version.Version nextVersion()
nextVersion in interface javax.jcr.version.VersionIteratorpublic long getSize()
getSize in interface javax.jcr.RangeIteratorpublic java.lang.Object next()
next in interface java.util.IteratorCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.