Interface BigFraction.ConvergenceTest

  • Enclosing class:
    BigFraction
    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 static interface BigFraction.ConvergenceTest
    A test to determine if a series of fractions has converged.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean test​(long numerator, long denominator)
      Evaluates if the fraction formed by numerator/denominator satisfies this convergence test.
    • Method Detail

      • test

        boolean test​(long numerator,
                     long denominator)
        Evaluates if the fraction formed by numerator/denominator satisfies this convergence test.
        Parameters:
        numerator - the numerator
        denominator - the denominator
        Returns:
        if this convergence test is satisfied