Interface Transformer<I,​O>

    • Method Detail

      • transform

        O transform​(I input)
        Transforms the input object (leaving it unchanged) into some output object.
        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