Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in version 1.0.0
belongs to Maven artifact androidx.core:core:1.1.0-alpha01

Consumer

public interface Consumer

androidx.core.util.Consumer<T>


Compat version of Consumer

Summary

Public methods

abstract void accept(T t)

Performs this operation on the given argument.

Public methods

accept

added in version 1.0.0
public abstract void accept (T t)

Performs this operation on the given argument.

Parameters
t T: the input argument