Interface StatefulMappingFunction

  • All Superinterfaces:
    MappingFunction

    public interface StatefulMappingFunction
    extends MappingFunction
    MappingFunction is an interface that must be satisfied by an object passed to a MappingIterator. StatefulMappingFunction is a sub-interface representing a mapping function that maintains state information, and which must therefore be cloned when the mapping iterator is cloned.
    • Method Detail

      • getAnother

        StatefulMappingFunction getAnother()
        Return a clone of this MappingFunction, with the state reset to its state at the beginning of the underlying iteration
        Returns:
        a clone of this MappingFunction