This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
package 订单折扣与日志系统;
/**
* @author hp
* @version 1.0
* @created 23-10月-2025 19:02:26
*/
public class PercentageDiscount implements DiscountStrategy {
private double rate;
public PercentageDiscount(){
}
public void finalize() throws Throwable {
*
* @param s
public void PercentageDiscount(rate:double s){
* @param Order order
public double calculateDiscount(order:Order Order order){
return 0;
public double calculateDiscount(order:Order s){
}//end PercentageDiscount