org.apache.commons.lang3.function

## Class Consumers

- java.lang.Object
- - org.apache.commons.lang3.function.Consumers

-     public class Consumers
      extends Object

  Provides `Consumer` instances.
  Since:
    3.13.0

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <T> Consumer<T>` | `nop()` Gets the NOP Consumer singleton.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### nop

          public static <T> Consumer<T> nop()

      Gets the NOP Consumer singleton.
      Type Parameters:
        `T` - type type to consume.
      Returns:
        the NOP Consumer singleton..

Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.