Class SequenceMapper

  • All Implemented Interfaces:
    MappingFunction

    public class SequenceMapper
    extends java.lang.Object
    implements MappingFunction
    SequenceMapper is an implementation of MappingFunction that wraps a function typically supplied as a lambda expression.

    NOTE: Java allows a lambda expression to be used wherever a MappingFunction is needed, but C# does not (it's not possible in C# to have a class implementing a delegate). So if a lambda expression is wanted, use an SequenceMapper as a wrapper.