mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-04-26 06:35:10 +00:00
stuff
This commit is contained in:
44
app/L/ConditionalIfFunction.java
Normal file
44
app/L/ConditionalIfFunction.java
Normal file
@@ -0,0 +1,44 @@
|
||||
package L;
|
||||
|
||||
import ax.CloneableImplInAxPackage;
|
||||
import ax.AxInterfaceAb;
|
||||
import ax.AbstractInAxPackage;
|
||||
import java.util.List;
|
||||
|
||||
public class ConditionalIfFunction extends AbstractInAxPackage {
|
||||
AxInterfaceAb a;
|
||||
|
||||
AxInterfaceAb b;
|
||||
|
||||
AxInterfaceAb c;
|
||||
|
||||
protected B(List<AxInterfaceAb> paramList) {
|
||||
this.a = paramList.get(0);
|
||||
this.b = paramList.get(1);
|
||||
this.c = paramList.get(2);
|
||||
}
|
||||
|
||||
public synchronized double a(CloneableImplInAxPackage paramS) {
|
||||
return (this.a.b(paramS) != 0.0D) ? this.b.b(paramS) : this.c.b(paramS);
|
||||
}
|
||||
|
||||
public double b(CloneableImplInAxPackage paramS) {
|
||||
return a(paramS);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder stringBuilder = new StringBuilder();
|
||||
stringBuilder.append("IF( ");
|
||||
stringBuilder.append(this.a.toString()).append(", ");
|
||||
stringBuilder.append(this.b.toString()).append(", ");
|
||||
stringBuilder.append(this.c.toString());
|
||||
stringBuilder.append(" )");
|
||||
return stringBuilder.toString();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/L/B.class
|
||||
* Java compiler version: 8 (52.0)
|
||||
* JD-Core Version: 1.1.3
|
||||
*/
|
||||
Reference in New Issue
Block a user