30 lines
542 B
Java
30 lines
542 B
Java
package com.baidu.uaq.agent.android.tracing;
|
|
|
|
/* compiled from: SampleValue.java */
|
|
/* loaded from: classes.dex */
|
|
public class b {
|
|
private Double a = Double.valueOf(0.0d);
|
|
private boolean b;
|
|
|
|
public b(double d) {
|
|
a(d);
|
|
}
|
|
|
|
public Number a() {
|
|
return this.b ? b() : c();
|
|
}
|
|
|
|
public Double b() {
|
|
return this.a;
|
|
}
|
|
|
|
public Long c() {
|
|
return Long.valueOf(this.a.longValue());
|
|
}
|
|
|
|
public void a(double d) {
|
|
this.a = Double.valueOf(d);
|
|
this.b = true;
|
|
}
|
|
}
|