All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.serenitybdd.core.java8.TriConsumer Maven / Gradle / Ivy

There is a newer version: 4.2.9
Show newest version
package net.serenitybdd.core.java8;

import java.util.Objects;

@FunctionalInterface
public interface TriConsumer {
  public void accept(T t, U u, V v);

  public default TriConsumer andThen(TriConsumer after) {
    Objects.requireNonNull(after);
    return (a, b, c) -> {
      accept(a, b, c);
      after.accept(a, b, c);
    };
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy