Class TransformingRemoteIterator<S,​T>

  • Type Parameters:
    S - The type of objects that are retrieved from the wrapped remote iterator.
    T - The type of objects that are returned by this remote iterator.
    All Implemented Interfaces:
    RemoteIterator<List<T>>, de.aristaflow.adept2.model.communication.ServerSideProxy, Closeable, AutoCloseable

    public class TransformingRemoteIterator<S,​T>
    extends AbstractRemoteIterator<S,​T>
    This iterator wraps a remote iterator and transforms all objects before returning them using the provided transformator. It closes elements if appropriate depending on whether the wrapped iterator isForwardOnly().