60 lines
1.2 KiB
Java
60 lines
1.2 KiB
Java
package o;
|
|
|
|
import com.adobe.internal.xmp.XMPException;
|
|
import java.util.Map;
|
|
|
|
/* loaded from: classes.dex */
|
|
public abstract class Iqo {
|
|
public int a;
|
|
private Map c;
|
|
|
|
protected void c(int i) throws XMPException {
|
|
}
|
|
|
|
protected abstract int d();
|
|
|
|
public Iqo() {
|
|
this.a = 0;
|
|
this.c = null;
|
|
}
|
|
|
|
public Iqo(int i) throws XMPException {
|
|
this.a = 0;
|
|
this.c = null;
|
|
b(i);
|
|
b(i);
|
|
this.a = i;
|
|
}
|
|
|
|
public final void a(int i) throws XMPException {
|
|
b(i);
|
|
this.a = i;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder sb = new StringBuilder("0x");
|
|
sb.append(Integer.toHexString(this.a));
|
|
return sb.toString();
|
|
}
|
|
|
|
private void b(int i) throws XMPException {
|
|
int i2 = (~d()) & i;
|
|
if (i2 == 0) {
|
|
c(i);
|
|
return;
|
|
}
|
|
StringBuilder sb = new StringBuilder("The option bit(s) 0x");
|
|
sb.append(Integer.toHexString(i2));
|
|
sb.append(" are invalid!");
|
|
throw new XMPException(sb.toString(), 103);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
return this.a == ((Iqo) obj).a;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return this.a;
|
|
}
|
|
}
|