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

com.github.dakusui.jcunit8.factorspace.TestPredicate Maven / Gradle / Ivy

package com.github.dakusui.jcunit8.factorspace;

import com.github.dakusui.jcunit.core.tuples.Tuple;
import com.github.dakusui.jcunit8.core.Utils;

import java.util.List;
import java.util.function.Predicate;

public interface TestPredicate extends Predicate {
  boolean test(Tuple tuple);

  List involvedKeys();

  static String toString(TestPredicate predicate) {
    return String.format(
        "%s:%s",
        Utils.className(predicate.getClass()), predicate.involvedKeys()
    );
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy