mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-04-26 14:45:01 +00:00
stuff
This commit is contained in:
47
app/L/MinFunction.java
Normal file
47
app/L/MinFunction.java
Normal file
@@ -0,0 +1,47 @@
|
||||
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
|
||||
*/
|
||||
Reference in New Issue
Block a user