mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-04-25 14:15:20 +00:00
47 lines
1.2 KiB
Java
47 lines
1.2 KiB
Java
package L;
|
|
|
|
import ax.CloneableImplInAxPackage;
|
|
import ax.AxInterfaceAb;
|
|
import ax.AbstractInAxPackage;
|
|
import java.util.List;
|
|
|
|
public class MinFunction extends AbstractInAxPackage {
|
|
List a;
|
|
|
|
protected I(List paramList) {
|
|
this.a = paramList;
|
|
}
|
|
|
|
public synchronized double a(CloneableImplInAxPackage paramS) {
|
|
double d = Double.MAX_VALUE;
|
|
for (AxInterfaceAb AxInterfaceAb : this.a) {
|
|
double d1 = AxInterfaceAb.b(paramS);
|
|
if (d1 < d)
|
|
d = d1;
|
|
}
|
|
return d;
|
|
}
|
|
|
|
public double b(CloneableImplInAxPackage paramS) {
|
|
return a(paramS);
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder stringBuilder = new StringBuilder();
|
|
stringBuilder.append("min( ");
|
|
for (byte b = 0; b < this.a.size(); b++) {
|
|
AxInterfaceAb AxInterfaceAb = this.a.get(b);
|
|
stringBuilder.append(AxInterfaceAb.toString());
|
|
if (b + 1 < this.a.size())
|
|
stringBuilder.append(", ");
|
|
}
|
|
stringBuilder.append(")");
|
|
return stringBuilder.toString();
|
|
}
|
|
}
|
|
|
|
|
|
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/L/I.class
|
|
* Java compiler version: 8 (52.0)
|
|
* JD-Core Version: 1.1.3
|
|
*/ |