class Doubles extends RealNumbers<Double> {

  private static final Doubles INSTANCE = new Doubles();

  /**
   * Returns the singleton instance of this class based on {@link StandardComparisonStrategy}.
   *
   * @return the singleton instance of this class based on {@link StandardComparisonStrategy}.
   */
  public static Doubles instance() {
    return INSTANCE;
  }

  @VisibleForTesting
  Doubles() {
    super();
  }

  public Doubles(ComparisonStrategy comparisonStrategy) {
    super(comparisonStrategy);
  }

  @Override
  protected Double zero() {
    return 0.0d;
  }

  @Override
  protected Double one() {
    return 1.0d;
  }

  @Override
  protected Double NaN() {
    return Double.NaN;
  }

  @Override
  protected Double absDiff(Double actual, Double other) {<FILL_FUNCTION_BODY>}

  @Override
  protected boolean isFinite(Double value) {
    return Double.isFinite(value);
  }

  @Override
  protected boolean isNotFinite(Double value) {
    return !Double.isFinite(value);
  }

  @Override
  protected boolean isInfinite(Double value) {
    return Double.isInfinite(value);
  }

  @Override
  protected boolean isNotInfinite(Double value) {
    return !Double.isInfinite(value);
  }

  @Override
  protected boolean isNaN(Double value) {
    return Double.isNaN(value);
  }
}

    return isNanOrInfinite(actual) || isNanOrInfinite(other)
        ? abs(actual - other)
        : abs(absBigDecimalDiff(actual, other).doubleValue());
  
<methods>public void assertIsFinite(org.assertj.core.api.AssertionInfo, java.lang.Double) ,public void assertIsInfinite(org.assertj.core.api.AssertionInfo, java.lang.Double) ,public void assertIsNaN(org.assertj.core.api.AssertionInfo, java.lang.Double) ,public void assertIsNotFinite(org.assertj.core.api.AssertionInfo, java.lang.Double) ,public void assertIsNotInfinite(org.assertj.core.api.AssertionInfo, java.lang.Double) ,public void assertIsNotNaN(org.assertj.core.api.AssertionInfo, java.lang.Double) ,public boolean isNanOrInfinite(java.lang.Double) <variables>