Class KiwiConsumers

java.lang.Object
org.kiwiproject.util.function.KiwiConsumers

public final class KiwiConsumers extends Object
Contains helper methods for Consumer.
  • Method Details

    • noOp

      public static <T> Consumer<T> noOp()
      Provides a type-consistent, no-op Consumer.
      Type Parameters:
      T - type parameter of the Consumer
      Returns:
      the no-op Consumer