1700479862
}
1700479863
1700479864
public void decreaseSalary(){
1700479865
1700479866
super.mediator.down(this);
1700479867
1700479868
}
1700479869
1700479870
public void increaseSalary(){
1700479871
1700479872
super.mediator.up(this);
1700479873
1700479874
}
1700479875
1700479876
}
1700479877
1700479878
交税是公民的义务,税收接口如代码清单33-16所示。
1700479879
1700479880
代码清单33-16 税收接口
1700479881
1700479882
public interface ITax{
1700479883
1700479884
//税收上升
1700479885
1700479886
public void raise();
1700479887
1700479888
//税收下降
1700479889
1700479890
public void drop();
1700479891
1700479892
}
1700479893
1700479894
税收的变化对我们的工资当然有影响,如代码清单33-17所示。
1700479895
1700479896
代码清单33-17 税收
1700479897
1700479898
public class Tax extends AbsColleague implements ITax{
1700479899
1700479900
//注入中介者
1700479901
1700479902
public Tax(AbsMediator_mediator){
1700479903
1700479904
super(_mediator);
1700479905
1700479906
}
1700479907
1700479908
public void drop(){
1700479909
1700479910
super.mediator.down(this);
1700479911
[
上一页 ]
[ :1.700479862e+09 ]
[
下一页 ]