类 LambdaSafe.Callback<C,​A>

  • 类型参数:
    C - the callback type
    A - the primary argument type
    封闭类:
    LambdaSafe

    public static final class LambdaSafe.Callback<C,​A>
    extends Object
    Represents a single callback that can be invoked in a lambda safe way.
    • 方法详细资料

      • invoke

        public void invoke​(Consumer<C> invoker)
        Invoke the callback instance where the callback method returns void.
        参数:
        invoker - the invoker used to invoke the callback