public class ClientVersionIterator extends ClientIterator implements VersionIterator
| Constructor and Description |
|---|
ClientVersionIterator(RemoteIterator iterator,
Session session,
LocalAdapterFactory factory)
Creates a ClientVersionIterator instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
getObject(Object remote)
Creates and returns a local adapter for the given remote version.
|
Version |
nextVersion()
Returns the next version in this iteration.
|
getPosition, getSize, hasNext, next, remove, skipgetFactory, getItem, getNode, getNodeTypeArrayclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPosition, getSize, skipforEachRemaining, hasNext, next, removepublic ClientVersionIterator(RemoteIterator iterator, Session session, LocalAdapterFactory factory)
iterator - remote iteratorsession - current sessionfactory - local adapter factoryprotected Object getObject(Object remote)
getObject in class ClientIteratorremote - remote referecneClientIterator.getObject(Object)public Version nextVersion()
nextVersion in interface VersionIteratorVersionIterator.nextVersion()Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.