Files
rr3-apk/decompiled-community/sources/com/fyber/inneractive/sdk/model/vast/w.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- Added realracing3-community.apk (71.57 MB)
- Removed 32-bit support (armeabi-v7a)
- Only includes arm64-v8a libraries
- Decompiled source code included
- Added README-community.md with analysis
2026-02-18 15:48:36 -08:00

62 lines
1.7 KiB
Java

package com.fyber.inneractive.sdk.model.vast;
import android.text.TextUtils;
import java.util.ArrayList;
/* loaded from: classes2.dex */
public final class w implements Comparable<w> {
public Integer[] a = new Integer[0];
public final String b;
public static class a extends Exception {
}
public w(String str) throws a {
b(str);
a(str);
this.b = str;
}
public static void b(String str) throws a {
if (TextUtils.isEmpty(str) || !str.matches("^[0-9.]+$")) {
throw new a();
}
}
public final void a(String str) throws a {
ArrayList arrayList = new ArrayList();
for (String str2 : str.split("\\.")) {
arrayList.add(Integer.valueOf(com.fyber.inneractive.sdk.util.t.a(str2, 0)));
}
this.a = (Integer[]) arrayList.toArray(new Integer[arrayList.size()]);
}
public final String toString() {
return this.b;
}
@Override // java.lang.Comparable
/* renamed from: a, reason: merged with bridge method [inline-methods] */
public final int compareTo(w wVar) {
if (wVar == null) {
return 1;
}
int max = Math.max(this.a.length, wVar.a.length);
int i = 0;
while (i < max) {
Integer[] numArr = this.a;
int intValue = numArr.length > i ? numArr[i].intValue() : 0;
Integer[] numArr2 = wVar.a;
int intValue2 = numArr2.length > i ? numArr2[i].intValue() : 0;
if (intValue > intValue2) {
return 1;
}
if (intValue2 > intValue) {
return -1;
}
i++;
}
return 0;
}
}