what-the-bank/sources/o/C15376gop.java

88 lines
2.5 KiB
Java

package o;
import java.io.IOException;
/* renamed from: o.gop, reason: case insensitive filesystem */
/* loaded from: classes6.dex */
public class C15376gop extends AbstractC15315gnE implements InterfaceC15322gnQ {
private final byte[] e;
/* JADX INFO: Access modifiers changed from: package-private */
@Override // o.AbstractC15315gnE
public final boolean d() {
return false;
}
public static C15376gop b(Object obj) {
if (obj == null || (obj instanceof C15376gop)) {
return (C15376gop) obj;
}
StringBuilder sb = new StringBuilder("illegal object in getInstance: ");
sb.append(obj.getClass().getName());
throw new IllegalArgumentException(sb.toString());
}
public static C15376gop d(AbstractC15321gnP abstractC15321gnP) {
InterfaceC15342gnr interfaceC15342gnr = abstractC15321gnP.d;
AbstractC15315gnE i = interfaceC15342gnr != null ? interfaceC15342gnr.i() : null;
if (i instanceof C15376gop) {
return b(i);
}
return new C15376gop(((gnD) i).b());
}
/* JADX INFO: Access modifiers changed from: package-private */
public C15376gop(byte[] bArr) {
this.e = bArr;
}
public C15376gop(String str) {
this(str, (byte) 0);
}
private C15376gop(String str, byte b) {
if (str == null) {
throw new NullPointerException("string cannot be null");
}
this.e = grR.d(str);
}
@Override // o.InterfaceC15322gnQ
public final String j() {
return grR.b(this.e);
}
public String toString() {
return j();
}
/* JADX INFO: Access modifiers changed from: package-private */
@Override // o.AbstractC15315gnE
public final int c() {
return goV.d(this.e.length) + 1 + this.e.length;
}
@Override // o.AbstractC15346gnv
public int hashCode() {
return grK.c(this.e);
}
/* JADX INFO: Access modifiers changed from: package-private */
@Override // o.AbstractC15315gnE
protected final boolean e(AbstractC15315gnE abstractC15315gnE) {
if (abstractC15315gnE instanceof C15376gop) {
return grK.b(this.e, ((C15376gop) abstractC15315gnE).e);
}
return false;
}
/* JADX INFO: Access modifiers changed from: package-private */
@Override // o.AbstractC15315gnE
public final void c(gnG gng) throws IOException {
byte[] bArr = this.e;
gng.a(22);
gng.d(bArr.length);
gng.a.write(bArr);
}
}