91 lines
2.4 KiB
Java
91 lines
2.4 KiB
Java
package o;
|
|
|
|
import java.io.IOException;
|
|
|
|
/* renamed from: o.gol, reason: case insensitive filesystem */
|
|
/* loaded from: classes6.dex */
|
|
public final class C15372gol extends AbstractC15315gnE implements InterfaceC15322gnQ {
|
|
private final char[] d;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
@Override // o.AbstractC15315gnE
|
|
public final boolean d() {
|
|
return false;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public C15372gol(char[] cArr) {
|
|
this.d = cArr;
|
|
}
|
|
|
|
@Override // o.InterfaceC15322gnQ
|
|
public final String j() {
|
|
return new String(this.d);
|
|
}
|
|
|
|
public final String toString() {
|
|
return j();
|
|
}
|
|
|
|
@Override // o.AbstractC15315gnE
|
|
protected final boolean e(AbstractC15315gnE abstractC15315gnE) {
|
|
if (!(abstractC15315gnE instanceof C15372gol)) {
|
|
return false;
|
|
}
|
|
char[] cArr = this.d;
|
|
char[] cArr2 = ((C15372gol) abstractC15315gnE).d;
|
|
if (cArr == cArr2) {
|
|
return true;
|
|
}
|
|
if (cArr != null && cArr2 != null && cArr.length == cArr2.length) {
|
|
for (int i = 0; i != cArr.length; i++) {
|
|
if (cArr[i] == cArr2[i]) {
|
|
}
|
|
}
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
@Override // o.AbstractC15315gnE
|
|
public final int c() {
|
|
return goV.d(this.d.length << 1) + 1 + (this.d.length << 1);
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
@Override // o.AbstractC15315gnE
|
|
public final void c(gnG gng) throws IOException {
|
|
gng.a(30);
|
|
gng.d(this.d.length << 1);
|
|
int i = 0;
|
|
while (true) {
|
|
char[] cArr = this.d;
|
|
if (i == cArr.length) {
|
|
return;
|
|
}
|
|
char c = cArr[i];
|
|
gng.a((byte) (c >> '\b'));
|
|
gng.a((byte) c);
|
|
i++;
|
|
}
|
|
}
|
|
|
|
@Override // o.AbstractC15346gnv
|
|
public final int hashCode() {
|
|
char[] cArr = this.d;
|
|
if (cArr == null) {
|
|
return 0;
|
|
}
|
|
int length = cArr.length;
|
|
int i = length + 1;
|
|
while (true) {
|
|
length--;
|
|
if (length < 0) {
|
|
return i;
|
|
}
|
|
i = (i * 257) ^ cArr[length];
|
|
}
|
|
}
|
|
}
|