Package org.apache.storm.streams.operations

# Interface Consumer<T>

Type Parameters:
  `T` - the type of the input argument

All Superinterfaces:
  `Operation`, `Serializable`

All Known Implementing Classes:
  `PrintConsumer`

public interface Consumer<T> extends Operation
Represents an operation that accepts a single input argument and returns no result.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `accept(T input)`
  Performs an operation on the given argument.

- ## Method Details

  - ### accept

    void accept(T input)
    Performs an operation on the given argument.
    Parameters:
      `input` - the input