Class Consumers


  • public final class Consumers
    extends Object
    Helper methods for the Consumer facade.
    • Method Detail

      • from

        public static <T> Object from​(Consumer<T> delegate)
        Returns:
        A java.util.Consumer that forwards all invocations of accept(T) to the delegate.