ConstantInterestRateModel implements InterestRateModel<Double> { @Override public double getInterestRate(final Double t) { return _r; } ConstantInterestRateModel(final double r); @Override double getInterestRate(final Double t); @Override int hashCode(); @Override boolean equals(final Object obj);  }
@Test public void test() { assertEquals(RATE, CURVE.getInterestRate(0.5), EPS); }