@Override
 public int hashCode() {
   final int prime = 31;
   int result = 1;
   result = prime * result + _curveSensitivityCalculator.hashCode();
   return result;
 }
 @Override
 public <T> T accept(InstrumentDerivativeVisitor<?, T> visitor) {
   ArgumentChecker.notNull(visitor, "visitor");
   return visitor.visitCouponInflationYearOnYearInterpolationWithMargin(this);
 }
Пример #3
0
 @Override
 public <U, V> V accept(final InstrumentDerivativeVisitor<U, V> visitor, final U data) {
   ArgChecker.notNull(visitor, "visitor");
   return visitor.visitEquityTotalReturnSwap(this, data);
 }
Пример #4
0
 @Override
 public <T> T accept(final InstrumentDerivativeVisitor<?, T> visitor) {
   ArgChecker.notNull(visitor, "visitor");
   return visitor.visitCouponFixed(this);
 }
 @Override
 public <T> T accept(final InstrumentDerivativeVisitor<?, T> visitor) {
   ArgChecker.notNull(visitor, "visitor");
   return visitor.visitCouponCommodityPhysicalSettle(this);
 }
 @Override
 public <S, T> T accept(InstrumentDerivativeVisitor<S, T> visitor, S data) {
   ArgChecker.notNull(visitor, "visitor");
   return visitor.visitCouponInflationYearOnYearMonthlyWithMargin(this, data);
 }
Пример #7
0
 @Override
 public <T> T accept(final InstrumentDerivativeVisitor<?, T> visitor) {
   return visitor.visitCouponIborGearing(this);
 }
 @Override
 public <S, T> T accept(final InstrumentDerivativeVisitor<S, T> visitor, final S data) {
   ArgChecker.notNull(visitor, "visitor");
   return visitor.visitCouponFixedCompounding(this, data);
 }
Пример #9
0
 @Override
 public <S, T> T accept(final InstrumentDerivativeVisitor<S, T> visitor, final S data) {
   return visitor.visitCouponIborGearing(this, data);
 }
 @Override
 public <T> T accept(final InstrumentDerivativeVisitor<?, T> visitor) {
   ArgumentChecker.notNull(visitor, "visitor");
   return visitor.visitInterestRateFutureSecurity(this);
 }
 @Override
 public <T> T accept(InstrumentDerivativeVisitor<?, T> visitor) {
   return visitor.visitCouponInflationZeroCouponInterpolation(this);
 }
 @Override
 public <S, T> T accept(InstrumentDerivativeVisitor<S, T> visitor, S data) {
   return visitor.visitCouponInflationZeroCouponInterpolation(this, data);
 }
 @Override
 public <T> T accept(final InstrumentDerivativeVisitor<?, T> visitor) {
   ArgumentChecker.notNull(visitor, "visitor");
   return visitor.visitBondCapitalIndexedSecurity(this);
 }