added in version 1.0.0
belongs to Maven artifact androidx.core:core:1.0.0-beta01

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