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

org.quicktheories.api.Predicate3 Maven / Gradle / Ivy

package org.quicktheories.api;

import java.util.Objects;

@FunctionalInterface
public interface Predicate3 {

  boolean test(A a, B b, C c);

  default Predicate3 and(
      Predicate3 other) {
    Objects.requireNonNull(other);
    return (a, b, c) -> test(a, b, c) && other.test(a, b, c);
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy