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, skip
getFactory, getItem, getNode, getNodeTypeArray
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPosition, getSize, skip
forEachRemaining, hasNext, next, remove
public ClientVersionIterator(RemoteIterator iterator, Session session, LocalAdapterFactory factory)
iterator
- remote iteratorsession
- current sessionfactory
- local adapter factoryprotected Object getObject(Object remote)
getObject
in class ClientIterator
remote
- remote referecneClientIterator.getObject(Object)
public Version nextVersion()
nextVersion
in interface VersionIterator
VersionIterator.nextVersion()
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.