mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
29 lines
837 B
Java
29 lines
837 B
Java
package org.webrtc;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* loaded from: classes3.dex */
|
|
public class Histogram {
|
|
private final long handle;
|
|
|
|
private static native void nativeAddSample(long j, int i);
|
|
|
|
private static native long nativeCreateCounts(String str, int i, int i2, int i3);
|
|
|
|
private static native long nativeCreateEnumeration(String str, int i);
|
|
|
|
private Histogram(long j) {
|
|
this.handle = j;
|
|
}
|
|
|
|
public static Histogram createCounts(String str, int i, int i2, int i3) {
|
|
return new Histogram(nativeCreateCounts(str, i, i2, i3));
|
|
}
|
|
|
|
public static Histogram createEnumeration(String str, int i) {
|
|
return new Histogram(nativeCreateEnumeration(str, i));
|
|
}
|
|
|
|
public void addSample(int i) {
|
|
nativeAddSample(this.handle, i);
|
|
}
|
|
}
|