62 lines
959 B
Java
62 lines
959 B
Java
package com.google.zxing.pdf417.decoder;
|
|
|
|
/* loaded from: classes.dex */
|
|
final class Codeword {
|
|
private final int a;
|
|
private final int b;
|
|
private final int c;
|
|
private final int d;
|
|
private int e = -1;
|
|
|
|
Codeword(int i, int i2, int i3, int i4) {
|
|
this.a = i;
|
|
this.b = i2;
|
|
this.c = i3;
|
|
this.d = i4;
|
|
}
|
|
|
|
boolean a(int i) {
|
|
return i != -1 && this.c == (i % 3) * 3;
|
|
}
|
|
|
|
int b() {
|
|
return this.b;
|
|
}
|
|
|
|
int c() {
|
|
return this.e;
|
|
}
|
|
|
|
int d() {
|
|
return this.a;
|
|
}
|
|
|
|
int e() {
|
|
return this.d;
|
|
}
|
|
|
|
int f() {
|
|
return this.b - this.a;
|
|
}
|
|
|
|
boolean g() {
|
|
return a(this.e);
|
|
}
|
|
|
|
void h() {
|
|
this.e = ((this.d / 30) * 3) + (this.c / 3);
|
|
}
|
|
|
|
public String toString() {
|
|
return this.e + "|" + this.d;
|
|
}
|
|
|
|
int a() {
|
|
return this.c;
|
|
}
|
|
|
|
void b(int i) {
|
|
this.e = i;
|
|
}
|
|
}
|