class YieldSensitivityCalculator {

  public double calculateNthOrderSensitivity(final Annuity<? extends PaymentFixed> annuity, final double pv, final int order) {
    Validate.notNull(annuity, "annuity");
    final double yield = calculateYield(annuity, pv);
    return calculateNthOrderSensitivityFromYield(annuity, yield, order);
  }

  private  YieldSensitivityCalculator();

}