Interface TrinaryConsumer<T>

Type Parameters:
T - the type of the input arguments to the operation
All Superinterfaces:
TriConsumer<T,T,T>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface TrinaryConsumer<T> extends TriConsumer<T,T,T>
Represents an operation that accepts three input arguments of the same type and returns no result. This is a specialisation of TriConsumer where all three input arguments are of the same type. Unlike most other functional interfaces, TrinaryConsumer is expected to operate via side effects.

From J3Engine

Author:
Lehlogonolo Poole
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    andThen(TriConsumer<? super T,? super T,? super T> after)
    Returns a composed TriConsumer that performs, in sequence, this operation followed by the after operation.

    Methods inherited from interface com.yetnt.utils.functional.TriConsumer

    accept
  • Method Details

    • andThen

      default TrinaryConsumer<T> andThen(TriConsumer<? super T,? super T,? super T> after)
      Description copied from interface: TriConsumer
      Returns a composed TriConsumer that performs, in sequence, this operation followed by the after operation.
      Specified by:
      andThen in interface TriConsumer<T,T,T>
      Parameters:
      after - the operation to perform after this operation
      Returns:
      a composed TriConsumer