mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-04-25 22:25:34 +00:00
43 lines
958 B
Java
43 lines
958 B
Java
package L;
|
|
|
|
import ax.CloneableImplInAxPackage;
|
|
import ax.AxInterfaceAb;
|
|
import ax.AbstractInAxPackage;
|
|
|
|
public class TimeTrueFunction extends AbstractInAxPackage {
|
|
private AxInterfaceAb c;
|
|
|
|
long a = -1L;
|
|
|
|
double b = 0.0D;
|
|
|
|
public Z(AxInterfaceAb paramab) {
|
|
this.c = paramab;
|
|
}
|
|
|
|
public double a(CloneableImplInAxPackage paramS) {
|
|
if (this.c.b(paramS) != 0.0D) {
|
|
if (this.a < 0L)
|
|
this.a = System.currentTimeMillis();
|
|
this.b = (System.currentTimeMillis() - this.a) / 1000.0D;
|
|
} else if (this.a > 0L) {
|
|
this.a = -1L;
|
|
this.b = 0.0D;
|
|
}
|
|
return this.b;
|
|
}
|
|
|
|
public double b(CloneableImplInAxPackage paramS) {
|
|
return a(paramS);
|
|
}
|
|
|
|
public String toString() {
|
|
return "timeTrue( " + this.c.toString() + " )";
|
|
}
|
|
}
|
|
|
|
|
|
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/L/Z.class
|
|
* Java compiler version: 8 (52.0)
|
|
* JD-Core Version: 1.1.3
|
|
*/ |