Java java.util.function Consumer fields, constructors, methods, implement or subclass

Example usage for Java java.util.function Consumer fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.util.function Consumer.

The text is from its open source code.

Implementation

java.util.function.Consumer has the following implementations.
Click this link to see all its implementation.

Constructor

Method

voidaccept(T t)
Performs this operation on the given argument.
ConsumerandThen(Consumer after)
Returns a composed Consumer that performs, in sequence, this operation followed by the after operation.
ClassgetClass()
Returns the runtime class of this Object .
inthashCode()
Returns a hash code value for the object.
StringtoString()
Returns a string representation of the object.