org.modeshape.common.function

## Interface Consumer<T>

- Type Parameters:
    `T` - - the type of the input to the function

      public interface Consumer<T>

  Represents an operation that accepts a single input argument and returns no result. Unlike most other functional interfaces, Consumer is expected to operate via side-effects.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `accept(T t)` Performs this operation on the given argument.

- - ### Method Detail

    - #### accept

          void accept(T t)

      Performs this operation on the given argument.
      Parameters:
        `t` - the value to consume

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.