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$ $Date$
    • 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