Package 

Interface BiConsumer

    • Method Summary

      Modifier and Type Method Description
      static <V> BiConsumer<V, out Object> intoFuture(SettableFuture<V> fut) Construct consumer which populates a settable future.
      abstract void accept(A a, B b) Consume successful or erroneous result.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • intoFuture

         static <V> BiConsumer<V, out Object> intoFuture(SettableFuture<V> fut)

        Construct consumer which populates a settable future.

        Parameters:
        fut - future to populate
      • accept

         abstract void accept(A a, B b)

        Consume successful or erroneous result.

        Parameters:
        a - first value
        b - second value