Interface AnonymousMethodOnNode

  • 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 AnonymousMethodOnNode
    Representation of an anonymous method to invoke in some circumstances. This is class is for passing a method invocation within another method call (second-order function).
    • Method Detail

      • invoke

        void invoke​(NodePK pk)
             throws SilverpeasException
        Invokes the method with the specified node.
        Parameters:
        pk - the primary key of the node.
        Throws:
        SilverpeasException - if an error occurs during the execution of the anonymous method.