55 lines
1.7 KiB
Java
55 lines
1.7 KiB
Java
package o;
|
|
|
|
import java.io.IOException;
|
|
|
|
/* renamed from: o.gnE, reason: case insensitive filesystem */
|
|
/* loaded from: classes6.dex */
|
|
public abstract class AbstractC15315gnE extends AbstractC15346gnv {
|
|
/* JADX INFO: Access modifiers changed from: protected */
|
|
public abstract int c() throws IOException;
|
|
|
|
/* JADX INFO: Access modifiers changed from: protected */
|
|
public abstract void c(gnG gng) throws IOException;
|
|
|
|
/* JADX INFO: Access modifiers changed from: protected */
|
|
public abstract boolean d();
|
|
|
|
protected abstract boolean e(AbstractC15315gnE abstractC15315gnE);
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public AbstractC15315gnE f() {
|
|
return this;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public AbstractC15315gnE h() {
|
|
return this;
|
|
}
|
|
|
|
@Override // o.AbstractC15346gnv, o.InterfaceC15342gnr
|
|
public final AbstractC15315gnE i() {
|
|
return this;
|
|
}
|
|
|
|
public static AbstractC15315gnE b(byte[] bArr) throws IOException {
|
|
C15348gnx c15348gnx = new C15348gnx(bArr);
|
|
try {
|
|
AbstractC15315gnE b = c15348gnx.b();
|
|
if (c15348gnx.available() == 0) {
|
|
return b;
|
|
}
|
|
throw new IOException("Extra data detected in stream");
|
|
} catch (ClassCastException unused) {
|
|
throw new IOException("cannot recognise object in stream");
|
|
}
|
|
}
|
|
|
|
@Override // o.AbstractC15346gnv
|
|
public final boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
return (obj instanceof InterfaceC15342gnr) && e(((InterfaceC15342gnr) obj).i());
|
|
}
|
|
}
|