a.floatingSpreads = new ArrayList</*@Spread*/ Double>(floatingCoupons.size());
a.floatingCoupons = new ArrayList</*@Real*/ Double>(floatingCoupons.size());
for (int i=0; i<floatingCoupons.size(); ++i) {
final IborCoupon coupon = (IborCoupon) floatingCoupons.get(i);
a.floatingResetDates.set(i, coupon.accrualStartDate());
a.floatingPayDates.set(i, coupon.date());
a.floatingFixingDates.set(i, coupon.fixingDate());
a.floatingAccrualTimes.set(i, coupon.accrualPeriod());
a.floatingSpreads.set(i, coupon.spread());