Interface Hypothesis<T>

Type Parameters:
T - The type of the result to be validated against the hypothesis
All Superinterfaces:
Predicate<T>

public interface Hypothesis<T> extends Predicate<T>
Represents a testable hypothesis.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Method Summary

    Modifier and Type
    Method
    Description
    Briefly describes the hypothesis.
    boolean
    test(T result)
    Checks if the given result supports the hypothesis.

    Methods inherited from interface Predicate

    and, negate, or
  • Method Details

    • getStatement

      String getStatement()
      Briefly describes the hypothesis.
    • test

      boolean test(T result)
      Checks if the given result supports the hypothesis.
      Specified by:
      test in interface Predicate<T>
      Parameters:
      result - the experimental results
      Returns:
      true if supported, false if refuted