Interface Transformer<T,​R>

    • Method Detail

      • apply

        default R apply​(T t)
        Deprecated.
        Specified by:
        apply in interface java.util.function.Function<T,​R>
      • transform

        R transform​(T input)
        Deprecated.
        Transforms the input object into some output object.

        The input object SHOULD be left unchanged.

        Parameters:
        input - the object to be transformed, should be left unchanged
        Returns:
        a transformed object
        Throws:
        java.lang.ClassCastException - (runtime) if the input is the wrong class
        java.lang.IllegalArgumentException - (runtime) if the input is invalid
        FunctorException - (runtime) if the transform cannot be completed