Package lumis.util

Interface IFunction<O,​N>

  • Type Parameters:
    O - the object type
    N - the new object type
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface IFunction<O,​N>
    Function that can be applied to an object.
    Since:
    17.0.0
    Version:
    $Revision: 26605 $ $Date: 2024-09-02 21:06:01 -0300 (Mon, 02 Sep 2024) $
    • Method Detail

      • apply

        N apply​(O object)
         throws PortalException
        Transforms an object into another one.
        Parameters:
        object - the object
        Returns:
        the new object
        Throws:
        PortalException
        Since:
        17.0.0