128 lines
3.3 KiB
Java
128 lines
3.3 KiB
Java
package co.discord.media_engine;
|
|
|
|
import c.d.b.a.a;
|
|
/* compiled from: Statistics.kt */
|
|
public final class PlayoutMetric {
|
|
private final float last;
|
|
private final float max;
|
|
private final float mean;
|
|
private final float p75;
|
|
private final float p95;
|
|
private final float p99;
|
|
|
|
public PlayoutMetric(float f, float f2, float f3, float f4, float f5, float f6) {
|
|
this.last = f;
|
|
this.mean = f2;
|
|
this.p75 = f3;
|
|
this.p95 = f4;
|
|
this.p99 = f5;
|
|
this.max = f6;
|
|
}
|
|
|
|
public static /* synthetic */ PlayoutMetric copy$default(PlayoutMetric playoutMetric, float f, float f2, float f3, float f4, float f5, float f6, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
f = playoutMetric.last;
|
|
}
|
|
if ((i & 2) != 0) {
|
|
f2 = playoutMetric.mean;
|
|
}
|
|
if ((i & 4) != 0) {
|
|
f3 = playoutMetric.p75;
|
|
}
|
|
if ((i & 8) != 0) {
|
|
f4 = playoutMetric.p95;
|
|
}
|
|
if ((i & 16) != 0) {
|
|
f5 = playoutMetric.p99;
|
|
}
|
|
if ((i & 32) != 0) {
|
|
f6 = playoutMetric.max;
|
|
}
|
|
return playoutMetric.copy(f, f2, f3, f4, f5, f6);
|
|
}
|
|
|
|
public final float component1() {
|
|
return this.last;
|
|
}
|
|
|
|
public final float component2() {
|
|
return this.mean;
|
|
}
|
|
|
|
public final float component3() {
|
|
return this.p75;
|
|
}
|
|
|
|
public final float component4() {
|
|
return this.p95;
|
|
}
|
|
|
|
public final float component5() {
|
|
return this.p99;
|
|
}
|
|
|
|
public final float component6() {
|
|
return this.max;
|
|
}
|
|
|
|
public final PlayoutMetric copy(float f, float f2, float f3, float f4, float f5, float f6) {
|
|
return new PlayoutMetric(f, f2, f3, f4, f5, f6);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof PlayoutMetric)) {
|
|
return false;
|
|
}
|
|
PlayoutMetric playoutMetric = (PlayoutMetric) obj;
|
|
return Float.compare(this.last, playoutMetric.last) == 0 && Float.compare(this.mean, playoutMetric.mean) == 0 && Float.compare(this.p75, playoutMetric.p75) == 0 && Float.compare(this.p95, playoutMetric.p95) == 0 && Float.compare(this.p99, playoutMetric.p99) == 0 && Float.compare(this.max, playoutMetric.max) == 0;
|
|
}
|
|
|
|
public final float getLast() {
|
|
return this.last;
|
|
}
|
|
|
|
public final float getMax() {
|
|
return this.max;
|
|
}
|
|
|
|
public final float getMean() {
|
|
return this.mean;
|
|
}
|
|
|
|
public final float getP75() {
|
|
return this.p75;
|
|
}
|
|
|
|
public final float getP95() {
|
|
return this.p95;
|
|
}
|
|
|
|
public final float getP99() {
|
|
return this.p99;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return Float.floatToIntBits(this.max) + a.b(this.p99, a.b(this.p95, a.b(this.p75, a.b(this.mean, Float.floatToIntBits(this.last) * 31, 31), 31), 31), 31);
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder L = a.L("PlayoutMetric(last=");
|
|
L.append(this.last);
|
|
L.append(", mean=");
|
|
L.append(this.mean);
|
|
L.append(", p75=");
|
|
L.append(this.p75);
|
|
L.append(", p95=");
|
|
L.append(this.p95);
|
|
L.append(", p99=");
|
|
L.append(this.p99);
|
|
L.append(", max=");
|
|
L.append(this.max);
|
|
L.append(")");
|
|
return L.toString();
|
|
}
|
|
}
|