85 lines
2.4 KiB
Java
85 lines
2.4 KiB
Java
package o;
|
|
|
|
import java.io.Serializable;
|
|
import java.util.Arrays;
|
|
|
|
/* renamed from: o.pje, reason: case insensitive filesystem */
|
|
/* loaded from: classes.dex */
|
|
public final class C16615pje implements Serializable {
|
|
private final transient char[] a;
|
|
private final transient int b;
|
|
private final transient int[] c;
|
|
private final transient byte[] d;
|
|
final String e;
|
|
private final transient char g;
|
|
private final transient boolean i;
|
|
|
|
public final boolean equals(Object obj) {
|
|
return obj == this;
|
|
}
|
|
|
|
public C16615pje(String str, String str2, boolean z, char c, int i) {
|
|
int[] iArr = new int[128];
|
|
this.c = iArr;
|
|
char[] cArr = new char[64];
|
|
this.a = cArr;
|
|
this.d = new byte[64];
|
|
this.e = str;
|
|
this.i = z;
|
|
this.g = c;
|
|
this.b = i;
|
|
int length = str2.length();
|
|
if (length != 64) {
|
|
StringBuilder sb = new StringBuilder("Base64Alphabet length must be exactly 64 (was ");
|
|
sb.append(length);
|
|
sb.append(")");
|
|
throw new IllegalArgumentException(sb.toString());
|
|
}
|
|
str2.getChars(0, length, cArr, 0);
|
|
Arrays.fill(iArr, -1);
|
|
for (int i2 = 0; i2 < length; i2++) {
|
|
char c2 = this.a[i2];
|
|
this.d[i2] = (byte) c2;
|
|
this.c[c2] = i2;
|
|
}
|
|
if (z) {
|
|
this.c[c] = -2;
|
|
}
|
|
}
|
|
|
|
public C16615pje(C16615pje c16615pje, String str) {
|
|
this(c16615pje, str, c16615pje.i, c16615pje.g, Integer.MAX_VALUE);
|
|
}
|
|
|
|
public C16615pje(C16615pje c16615pje, String str, boolean z, char c, int i) {
|
|
int[] iArr = new int[128];
|
|
this.c = iArr;
|
|
char[] cArr = new char[64];
|
|
this.a = cArr;
|
|
byte[] bArr = new byte[64];
|
|
this.d = bArr;
|
|
this.e = str;
|
|
byte[] bArr2 = c16615pje.d;
|
|
System.arraycopy(bArr2, 0, bArr, 0, bArr2.length);
|
|
char[] cArr2 = c16615pje.a;
|
|
System.arraycopy(cArr2, 0, cArr, 0, cArr2.length);
|
|
int[] iArr2 = c16615pje.c;
|
|
System.arraycopy(iArr2, 0, iArr, 0, iArr2.length);
|
|
this.i = z;
|
|
this.g = c;
|
|
this.b = i;
|
|
}
|
|
|
|
protected final Object readResolve() {
|
|
return bLG.d(this.e);
|
|
}
|
|
|
|
public final int hashCode() {
|
|
return this.e.hashCode();
|
|
}
|
|
|
|
public final String toString() {
|
|
return this.e;
|
|
}
|
|
}
|