Top Description Methods
org.jooq.lambda.function

public Interface Consumer1<T1>

extends Consumer<T1>
Annotations
@FunctionalInterface
Imports
java.util.function.Consumer, org.jooq.lambda.tuple.Tuple1

A consumer with 1 arguments.
Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public default void
accept(Tuple1<? extends T1>
The arguments as a tuple.
args
)

Implements java.util.function.Consumer.accept.

Performs this operation on the given argument.

public void
accept(T1 v1)

Redeclares java.util.function.Consumer.accept.

Performs this operation on the given argument.

public default Consumer0
acceptPartially(T1 v1)

Let this consumer partially accept the arguments.

public default Consumer0
acceptPartially(Tuple1<? extends T1> args)

Let this consumer partially accept the arguments.

public static <T1> Consumer1<T1>
from(Consumer<? super T1> consumer)

Convert to this consumer from a java.util.function.Consumer.

public default Consumer<T1>
toConsumer()

Convert this consumer to a java.util.function.Consumer.

Inherited from java.util.function.Consumer:
andThen

Method Detail

acceptback to summary
public default void accept(Tuple1<? extends T1> args)

Implements java.util.function.Consumer.accept.

Performs this operation on the given argument.

Parameters
args:Tuple1<? extends T1>

The arguments as a tuple.

acceptback to summary
public void accept(T1 v1)

Redeclares java.util.function.Consumer.accept.

Performs this operation on the given argument.

Annotations
@Override
acceptPartiallyback to summary
public default Consumer0 acceptPartially(T1 v1)

Let this consumer partially accept the arguments.

acceptPartiallyback to summary
public default Consumer0 acceptPartially(Tuple1<? extends T1> args)

Let this consumer partially accept the arguments.

fromback to summary
public static <T1> Consumer1<T1> from(Consumer<? super T1> consumer)

Convert to this consumer from a java.util.function.Consumer.

toConsumerback to summary
public default Consumer<T1> toConsumer()

Convert this consumer to a java.util.function.Consumer.