mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-25 00:22:50 -06:00
82 lines
1.8 KiB
Java
82 lines
1.8 KiB
Java
package io.sentry;
|
|
|
|
import java.util.Locale;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public interface MeasurementUnit {
|
|
public static final String NONE = "none";
|
|
|
|
String apiName();
|
|
|
|
String name();
|
|
|
|
/* loaded from: classes3.dex */
|
|
public enum Duration implements MeasurementUnit {
|
|
NANOSECOND,
|
|
MICROSECOND,
|
|
MILLISECOND,
|
|
SECOND,
|
|
MINUTE,
|
|
HOUR,
|
|
DAY,
|
|
WEEK;
|
|
|
|
@Override // io.sentry.MeasurementUnit
|
|
public String apiName() {
|
|
return name().toLowerCase(Locale.ROOT);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public enum Information implements MeasurementUnit {
|
|
BIT,
|
|
BYTE,
|
|
KILOBYTE,
|
|
KIBIBYTE,
|
|
MEGABYTE,
|
|
MEBIBYTE,
|
|
GIGABYTE,
|
|
GIBIBYTE,
|
|
TERABYTE,
|
|
TEBIBYTE,
|
|
PETABYTE,
|
|
PEBIBYTE,
|
|
EXABYTE,
|
|
EXBIBYTE;
|
|
|
|
@Override // io.sentry.MeasurementUnit
|
|
public String apiName() {
|
|
return name().toLowerCase(Locale.ROOT);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public enum Fraction implements MeasurementUnit {
|
|
RATIO,
|
|
PERCENT;
|
|
|
|
@Override // io.sentry.MeasurementUnit
|
|
public String apiName() {
|
|
return name().toLowerCase(Locale.ROOT);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public static final class Custom implements MeasurementUnit {
|
|
private final String name;
|
|
|
|
@Override // io.sentry.MeasurementUnit
|
|
public String name() {
|
|
return this.name;
|
|
}
|
|
|
|
public Custom(String str) {
|
|
this.name = str;
|
|
}
|
|
|
|
@Override // io.sentry.MeasurementUnit
|
|
public String apiName() {
|
|
return name().toLowerCase(Locale.ROOT);
|
|
}
|
|
}
|
|
}
|