115 lines
3.3 KiB
Java
115 lines
3.3 KiB
Java
package co.discord.media_engine;
|
|
|
|
import a0.a.a.a;
|
|
/* compiled from: Statistics.kt */
|
|
/* loaded from: classes.dex */
|
|
public final class PlayoutMetric {
|
|
private final double last;
|
|
private final double max;
|
|
private final double mean;
|
|
private final double p75;
|
|
private final double p95;
|
|
private final double p99;
|
|
|
|
public PlayoutMetric(double d, double d2, double d3, double d4, double d5, double d6) {
|
|
this.last = d;
|
|
this.mean = d2;
|
|
this.p75 = d3;
|
|
this.p95 = d4;
|
|
this.p99 = d5;
|
|
this.max = d6;
|
|
}
|
|
|
|
public static /* synthetic */ PlayoutMetric copy$default(PlayoutMetric playoutMetric, double d, double d2, double d3, double d4, double d5, double d6, int i, Object obj) {
|
|
return playoutMetric.copy((i & 1) != 0 ? playoutMetric.last : d, (i & 2) != 0 ? playoutMetric.mean : d2, (i & 4) != 0 ? playoutMetric.p75 : d3, (i & 8) != 0 ? playoutMetric.p95 : d4, (i & 16) != 0 ? playoutMetric.p99 : d5, (i & 32) != 0 ? playoutMetric.max : d6);
|
|
}
|
|
|
|
public final double component1() {
|
|
return this.last;
|
|
}
|
|
|
|
public final double component2() {
|
|
return this.mean;
|
|
}
|
|
|
|
public final double component3() {
|
|
return this.p75;
|
|
}
|
|
|
|
public final double component4() {
|
|
return this.p95;
|
|
}
|
|
|
|
public final double component5() {
|
|
return this.p99;
|
|
}
|
|
|
|
public final double component6() {
|
|
return this.max;
|
|
}
|
|
|
|
public final PlayoutMetric copy(double d, double d2, double d3, double d4, double d5, double d6) {
|
|
return new PlayoutMetric(d, d2, d3, d4, d5, d6);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof PlayoutMetric)) {
|
|
return false;
|
|
}
|
|
PlayoutMetric playoutMetric = (PlayoutMetric) obj;
|
|
return Double.compare(this.last, playoutMetric.last) == 0 && Double.compare(this.mean, playoutMetric.mean) == 0 && Double.compare(this.p75, playoutMetric.p75) == 0 && Double.compare(this.p95, playoutMetric.p95) == 0 && Double.compare(this.p99, playoutMetric.p99) == 0 && Double.compare(this.max, playoutMetric.max) == 0;
|
|
}
|
|
|
|
public final double getLast() {
|
|
return this.last;
|
|
}
|
|
|
|
public final double getMax() {
|
|
return this.max;
|
|
}
|
|
|
|
public final double getMean() {
|
|
return this.mean;
|
|
}
|
|
|
|
public final double getP75() {
|
|
return this.p75;
|
|
}
|
|
|
|
public final double getP95() {
|
|
return this.p95;
|
|
}
|
|
|
|
public final double getP99() {
|
|
return this.p99;
|
|
}
|
|
|
|
public int hashCode() {
|
|
int a = a.a(this.mean);
|
|
int a2 = a.a(this.p75);
|
|
int a3 = a.a(this.p95);
|
|
int a4 = a.a(this.p99);
|
|
return a.a(this.max) + ((a4 + ((a3 + ((a2 + ((a + (a.a(this.last) * 31)) * 31)) * 31)) * 31)) * 31);
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder R = b.d.b.a.a.R("PlayoutMetric(last=");
|
|
R.append(this.last);
|
|
R.append(", mean=");
|
|
R.append(this.mean);
|
|
R.append(", p75=");
|
|
R.append(this.p75);
|
|
R.append(", p95=");
|
|
R.append(this.p95);
|
|
R.append(", p99=");
|
|
R.append(this.p99);
|
|
R.append(", max=");
|
|
R.append(this.max);
|
|
R.append(")");
|
|
return R.toString();
|
|
}
|
|
}
|