Interface Transformer<A,​R>

  • Type Parameters:
    A - argument type to transform from
    R - result type to transform to

    public interface Transformer<A,​R>
    Type safe counter part of org.apache.commons.collections.Transformer.
    • Method Detail

      • transform

        R transform​(A argument)
        Transforms the input object (leaving it unchanged) into some output object.
        Parameters:
        argument - the object to be transformed, should be left unchanged
        Returns:
        a transformed object