@UnstableApi
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.

Summary

Public methods

abstract void
accept(T t)

Performs this operation on the given argument.

Public methods

accept

abstract void accept(T t)

Performs this operation on the given argument.