A ClientIterator for iterating remote versions.
@Deprecated public class ClientVersionIterator extends ClientIterator implements VersionIterator
Constructor and Description |
---|
ClientVersionIterator(RemoteIterator iterator,
Session session,
LocalAdapterFactory factory)
Deprecated.
Creates a ClientVersionIterator instance.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
getObject(Object remote)
Deprecated.
Creates and returns a local adapter for the given remote version.
|
Version |
nextVersion()
Deprecated.
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–2024 The Apache Software Foundation. All rights reserved.