mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-04-25 14:15:20 +00:00
237 lines
11 KiB
Java
237 lines
11 KiB
Java
package ao;
|
|
|
|
import L.z;
|
|
import W.BxInterfaceJuliet;
|
|
import W.n;
|
|
import ax.ExceptionInAxPackage;
|
|
import bE.DoubleExtension;
|
|
import bE.BeInterfaceCharlie;
|
|
import bE.BeInterfaceLima;
|
|
import bE.BeInterfacePapa;
|
|
import bE.BeInterfaceQuebec;
|
|
import bx.BxInterfaceJuliet;
|
|
import h.PropertiesExtensionInHPackage;
|
|
import java.util.ArrayList;
|
|
import java.util.HashMap;
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
import k.KInterfaceAlpha;
|
|
import k.KComponentDelta;
|
|
|
|
class eq implements BeInterfacePapa {
|
|
private n PropertiesExtensionInHPackage = null;
|
|
|
|
BxInterfaceJuliet KInterfaceAlpha = null;
|
|
|
|
BxInterfaceJuliet DoubleExtension = null;
|
|
|
|
BxInterfaceJuliet BeInterfaceCharlie = null;
|
|
|
|
List KComponentDelta = new ArrayList();
|
|
|
|
HashMap e = new HashMap<>();
|
|
|
|
z f = new z();
|
|
|
|
private final fK h;
|
|
|
|
eq(fK paramfK) {
|
|
this.h = paramfK;
|
|
}
|
|
|
|
public double KInterfaceAlpha() {
|
|
return (this.KInterfaceAlpha == null) ? 0.0D : (this.h.BeInterfaceQuebec.KInterfaceAlpha() ? ((this.DoubleExtension != null && n()) ? BxInterfaceJuliet() : this.KInterfaceAlpha.e()) : this.h.BeInterfaceQuebec.DoubleExtension());
|
|
}
|
|
|
|
private double BxInterfaceJuliet() {
|
|
double d1;
|
|
double d2;
|
|
if (this.DoubleExtension.KInterfaceAlpha().toLowerCase().contains("lat")) {
|
|
d1 = this.f.KInterfaceAlpha(this.DoubleExtension.h(), this.KInterfaceAlpha.h(), this.DoubleExtension.PropertiesExtensionInHPackage(), this.KInterfaceAlpha.h());
|
|
d2 = this.f.KInterfaceAlpha(this.DoubleExtension.h(), this.KInterfaceAlpha.h(), this.DoubleExtension.h(), this.KInterfaceAlpha.PropertiesExtensionInHPackage());
|
|
} else {
|
|
d1 = this.f.KInterfaceAlpha(this.KInterfaceAlpha.h(), this.DoubleExtension.h(), this.KInterfaceAlpha.PropertiesExtensionInHPackage(), this.DoubleExtension.h());
|
|
d2 = this.f.KInterfaceAlpha(this.KInterfaceAlpha.h(), this.DoubleExtension.h(), this.KInterfaceAlpha.h(), this.DoubleExtension.PropertiesExtensionInHPackage());
|
|
}
|
|
if (d2 > d1) {
|
|
double KComponentDelta = (this.KInterfaceAlpha.PropertiesExtensionInHPackage() - this.KInterfaceAlpha.h()) * 0.05D;
|
|
return this.KInterfaceAlpha.h() - KComponentDelta;
|
|
}
|
|
double d3 = d1 / d2 * 1.05D;
|
|
double d4 = ((this.KInterfaceAlpha.h() + this.KInterfaceAlpha.PropertiesExtensionInHPackage()) / 2.0F);
|
|
return d4 - (d4 - this.KInterfaceAlpha.e()) * d3;
|
|
}
|
|
|
|
public double DoubleExtension() {
|
|
return (this.KInterfaceAlpha == null) ? 100.0D : (this.h.BeInterfaceQuebec.KInterfaceAlpha() ? ((this.DoubleExtension != null && n()) ? k() : this.KInterfaceAlpha.f()) : this.h.BeInterfaceQuebec.BeInterfaceCharlie());
|
|
}
|
|
|
|
private double k() {
|
|
double d1;
|
|
double d2;
|
|
if (this.DoubleExtension.KInterfaceAlpha().toLowerCase().contains("lat")) {
|
|
d1 = this.f.KInterfaceAlpha(this.DoubleExtension.h(), this.KInterfaceAlpha.h(), this.DoubleExtension.PropertiesExtensionInHPackage(), this.KInterfaceAlpha.h());
|
|
d2 = this.f.KInterfaceAlpha(this.DoubleExtension.h(), this.KInterfaceAlpha.h(), this.DoubleExtension.h(), this.KInterfaceAlpha.PropertiesExtensionInHPackage());
|
|
} else {
|
|
d1 = this.f.KInterfaceAlpha(this.KInterfaceAlpha.h(), this.DoubleExtension.h(), this.KInterfaceAlpha.PropertiesExtensionInHPackage(), this.DoubleExtension.h());
|
|
d2 = this.f.KInterfaceAlpha(this.KInterfaceAlpha.h(), this.DoubleExtension.h(), this.KInterfaceAlpha.h(), this.DoubleExtension.PropertiesExtensionInHPackage());
|
|
}
|
|
if (d2 > d1) {
|
|
double KComponentDelta = (this.KInterfaceAlpha.PropertiesExtensionInHPackage() - this.KInterfaceAlpha.h()) * 0.05D;
|
|
return this.KInterfaceAlpha.PropertiesExtensionInHPackage() + KComponentDelta;
|
|
}
|
|
double d3 = d1 / d2 * 1.05D;
|
|
double d4 = ((this.KInterfaceAlpha.h() + this.KInterfaceAlpha.PropertiesExtensionInHPackage()) / 2.0F);
|
|
return d4 + (this.KInterfaceAlpha.f() - d4) * d3;
|
|
}
|
|
|
|
public double BeInterfaceCharlie() {
|
|
return (this.DoubleExtension == null) ? 0.0D : (this.h.BeInterfaceQuebec.KComponentDelta() ? ((this.KInterfaceAlpha != null && n()) ? BeInterfaceLima() : this.DoubleExtension.e()) : this.h.BeInterfaceQuebec.e());
|
|
}
|
|
|
|
private double BeInterfaceLima() {
|
|
double d1;
|
|
double d2;
|
|
if (this.DoubleExtension.KInterfaceAlpha().toLowerCase().contains("lat")) {
|
|
d1 = this.f.KInterfaceAlpha(this.DoubleExtension.h(), this.KInterfaceAlpha.h(), this.DoubleExtension.PropertiesExtensionInHPackage(), this.KInterfaceAlpha.h());
|
|
d2 = this.f.KInterfaceAlpha(this.DoubleExtension.h(), this.KInterfaceAlpha.h(), this.DoubleExtension.h(), this.KInterfaceAlpha.PropertiesExtensionInHPackage());
|
|
} else {
|
|
d1 = this.f.KInterfaceAlpha(this.KInterfaceAlpha.h(), this.DoubleExtension.h(), this.KInterfaceAlpha.PropertiesExtensionInHPackage(), this.DoubleExtension.h());
|
|
d2 = this.f.KInterfaceAlpha(this.KInterfaceAlpha.h(), this.DoubleExtension.h(), this.KInterfaceAlpha.h(), this.DoubleExtension.PropertiesExtensionInHPackage());
|
|
}
|
|
if (d1 > d2) {
|
|
double KComponentDelta = (this.DoubleExtension.PropertiesExtensionInHPackage() - this.DoubleExtension.h()) * 0.05D;
|
|
return this.DoubleExtension.h() - KComponentDelta;
|
|
}
|
|
double d3 = d2 / d1 * 1.05D;
|
|
double d4 = ((this.DoubleExtension.h() + this.DoubleExtension.PropertiesExtensionInHPackage()) / 2.0F);
|
|
return d4 - (d4 - this.DoubleExtension.e()) * d3;
|
|
}
|
|
|
|
public double KComponentDelta() {
|
|
return (this.DoubleExtension == null) ? 100.0D : (this.h.BeInterfaceQuebec.KComponentDelta() ? ((this.KInterfaceAlpha != null && n()) ? m() : this.DoubleExtension.f()) : this.h.BeInterfaceQuebec.f());
|
|
}
|
|
|
|
private double m() {
|
|
double d1;
|
|
double d2;
|
|
if (this.DoubleExtension.KInterfaceAlpha().toLowerCase().contains("lat")) {
|
|
d1 = this.f.KInterfaceAlpha(this.DoubleExtension.h(), this.KInterfaceAlpha.h(), this.DoubleExtension.PropertiesExtensionInHPackage(), this.KInterfaceAlpha.h());
|
|
d2 = this.f.KInterfaceAlpha(this.DoubleExtension.h(), this.KInterfaceAlpha.h(), this.DoubleExtension.h(), this.KInterfaceAlpha.PropertiesExtensionInHPackage());
|
|
} else {
|
|
d1 = this.f.KInterfaceAlpha(this.KInterfaceAlpha.h(), this.DoubleExtension.h(), this.KInterfaceAlpha.PropertiesExtensionInHPackage(), this.DoubleExtension.h());
|
|
d2 = this.f.KInterfaceAlpha(this.KInterfaceAlpha.h(), this.DoubleExtension.h(), this.KInterfaceAlpha.h(), this.DoubleExtension.PropertiesExtensionInHPackage());
|
|
}
|
|
if (d1 > d2) {
|
|
double KComponentDelta = (this.DoubleExtension.PropertiesExtensionInHPackage() - this.DoubleExtension.h()) * 0.05D;
|
|
return this.DoubleExtension.PropertiesExtensionInHPackage() + KComponentDelta;
|
|
}
|
|
double d3 = d2 / d1 * 1.05D;
|
|
double d4 = ((this.DoubleExtension.h() + this.DoubleExtension.PropertiesExtensionInHPackage()) / 2.0F);
|
|
return d4 + (this.DoubleExtension.f() - d4) * d3;
|
|
}
|
|
|
|
private boolean n() {
|
|
return ((this.DoubleExtension.KInterfaceAlpha().toLowerCase().contains("lat") && this.KInterfaceAlpha.KInterfaceAlpha().toLowerCase().contains("long")) || (this.DoubleExtension.KInterfaceAlpha().toLowerCase().contains("long") && this.KInterfaceAlpha.KInterfaceAlpha().toLowerCase().contains("lat")));
|
|
}
|
|
|
|
protected boolean KInterfaceAlpha(int paramInt) {
|
|
for (BxInterfaceJuliet j1 : this.h.BxInterfaceJuliet.KInterfaceAlpha()) {
|
|
try {
|
|
String str = KComponentDelta(j1.BeInterfaceCharlie());
|
|
KInterfaceAlpha KInterfaceAlpha = KComponentDelta.KInterfaceAlpha().KInterfaceAlpha(str);
|
|
if (KInterfaceAlpha.KInterfaceAlpha(this.PropertiesExtensionInHPackage, paramInt) != 0.0D)
|
|
return true;
|
|
} catch (ExceptionInAxPackage u) {
|
|
this.h.BxInterfaceJuliet.KInterfaceAlpha(j1.KInterfaceAlpha(), false);
|
|
u.printStackTrace();
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
|
|
private String KComponentDelta(String paramString) {
|
|
String str = (String)this.e.get(paramString);
|
|
if (str == null) {
|
|
str = PropertiesExtensionInHPackage.KInterfaceAlpha().BeInterfaceCharlie(paramString);
|
|
this.e.put(paramString, str);
|
|
}
|
|
return str;
|
|
}
|
|
|
|
public BeInterfaceQuebec DoubleExtension(int paramInt) {
|
|
double KComponentDelta = (this.BeInterfaceCharlie == null) ? Double.NaN : this.BeInterfaceCharlie.BeInterfaceCharlie(paramInt);
|
|
boolean bool = KInterfaceAlpha(paramInt);
|
|
return (BeInterfaceQuebec)(bool ? new BeInterfaceCharlie(this.KInterfaceAlpha.BeInterfaceCharlie(paramInt), this.DoubleExtension.BeInterfaceCharlie(paramInt), KComponentDelta) : new DoubleExtension(this.KInterfaceAlpha.BeInterfaceCharlie(paramInt), this.DoubleExtension.BeInterfaceCharlie(paramInt), KComponentDelta));
|
|
}
|
|
|
|
public int e() {
|
|
return (this.KInterfaceAlpha == null || this.DoubleExtension == null) ? 0 : this.h.f();
|
|
}
|
|
|
|
public int f() {
|
|
return this.h.PropertiesExtensionInHPackage();
|
|
}
|
|
|
|
public void KInterfaceAlpha(String paramString) {
|
|
BxInterfaceJuliet j1 = PropertiesExtensionInHPackage().KInterfaceAlpha(paramString);
|
|
this.KInterfaceAlpha = j1;
|
|
if (j1 != null)
|
|
this.h.i().h(j1.m());
|
|
o();
|
|
}
|
|
|
|
public void DoubleExtension(String paramString) {
|
|
BxInterfaceJuliet j1 = PropertiesExtensionInHPackage().KInterfaceAlpha(paramString);
|
|
this.DoubleExtension = j1;
|
|
if (j1 != null)
|
|
this.h.i().i(j1.m());
|
|
o();
|
|
}
|
|
|
|
public void BeInterfaceCharlie(String paramString) {
|
|
BxInterfaceJuliet j1 = PropertiesExtensionInHPackage().KInterfaceAlpha(paramString);
|
|
this.BeInterfaceCharlie = j1;
|
|
if (j1 != null)
|
|
this.h.i().BxInterfaceJuliet(j1.m());
|
|
o();
|
|
}
|
|
|
|
public n PropertiesExtensionInHPackage() {
|
|
return this.PropertiesExtensionInHPackage;
|
|
}
|
|
|
|
public void KInterfaceAlpha(n paramn) {
|
|
this.PropertiesExtensionInHPackage = paramn;
|
|
this.e.clear();
|
|
o();
|
|
}
|
|
|
|
public void KInterfaceAlpha(BeInterfaceLima paraml) {
|
|
this.KComponentDelta.add(paraml);
|
|
}
|
|
|
|
public void DoubleExtension(BeInterfaceLima paraml) {
|
|
this.KComponentDelta.remove(paraml);
|
|
}
|
|
|
|
private void o() {
|
|
Iterator<BeInterfaceLima> iterator = this.KComponentDelta.iterator();
|
|
while (iterator.hasNext())
|
|
((BeInterfaceLima)iterator.next()).KInterfaceAlpha();
|
|
}
|
|
|
|
public double h() {
|
|
return (this.BeInterfaceCharlie == null) ? Double.NaN : (this.h.BeInterfaceQuebec.PropertiesExtensionInHPackage() ? this.BeInterfaceCharlie.e() : this.h.BeInterfaceQuebec.h());
|
|
}
|
|
|
|
public double i() {
|
|
return (this.BeInterfaceCharlie == null) ? Double.NaN : (this.h.BeInterfaceQuebec.PropertiesExtensionInHPackage() ? this.BeInterfaceCharlie.f() : this.h.BeInterfaceQuebec.i());
|
|
}
|
|
}
|
|
|
|
|
|
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/ao/eq.class
|
|
* Java compiler version: 8 (52.0)
|
|
* JD-Core Version: 1.1.3
|
|
*/ |