Collection < Coupon > function ( double arg0 ) { Collection < Coupon > loc0 = this . getPurchasedCoupons ( ) ; Collection < Coupon > loc1 = new ArrayList < Coupon > ( ) ; for ( Coupon loc2 : loc0 ) { if ( loc2 . getPrice ( ) <= arg0 ) { loc1 . add ( loc2 ) ; } } return loc1 ; }
returns all of the current customer 's coupons concode_field_sep CustomerCouponDBDAO custCoupDAO concode_elem_sep CustomerDBDAO customerDAO concode_elem_sep long custID concode_elem_sep CouponDBDAO couponDAO concode_field_sep Collection<Coupon> getPurchasedCoupons concode_elem_sep int purchaseCoupon concode_elem_sep Customer returnCurrentCustomer concode_elem_sep Collection<Coupon> getPurchasedCouponsByType concode_elem_sep long getCustomerID concode_elem_sep Collection<Coupon> getSystemCoupons