class TS {
private TSParams params;
public TSParams getParams()
{
return params;
}
public TS(TSParams params) {
this.params = params;
}
public void out() {
System.out.println(getParams().MACDFast);
}
}
class DSO extends TS {
public DSO(Params params) {
super(params);
this.out();
}
public void out()
{
super.out();
System.out.println(getParams().MACDSlow);
}
public Params getParams()
{
return (Params) super.getParams();
}
}