Consumer (Java Application API for IBM Streams)
Date: 2020-08-07

com.ibm.streamsx.topology.function

## Interface Consumer<T>

- Type Parameters:
    `T` - Type of the first (and only) argument
  All Superinterfaces:
    java.io.Serializable

      public interface Consumer<T>
      extends java.io.Serializable

  A function that takes an argument and returns nothing.
  If an implementation also implements `java.lang.AutoCloseable` then it will be automatically closed when the application terminates.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `accept(T v)`

- - ### Method Detail

    - #### accept

          void accept(T v)