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

48 lines
1.3 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.google.common.primitives.UnsignedBytes;
/* renamed from: o.fZQ, reason: case insensitive filesystem */
/* loaded from: classes2.dex */
public abstract class AbstractC13394fZQ {
public final int a;
public final int c;
public abstract byte[] a(int i, byte[] bArr);
public boolean b() {
return false;
}
public abstract byte[] c();
/* JADX INFO: Access modifiers changed from: protected */
public AbstractC13394fZQ(int i, int i2) {
this.a = i;
this.c = i2;
}
public AbstractC13394fZQ a() {
return new AIu(this);
}
public AbstractC13394fZQ e() {
throw new UnsupportedOperationException("This luminance source does not support rotation by 90 degrees.");
}
public final String toString() {
int i = this.a;
byte[] bArr = new byte[i];
StringBuilder sb = new StringBuilder(this.c * (i + 1));
for (int i2 = 0; i2 < this.c; i2++) {
bArr = a(i2, bArr);
for (int i3 = 0; i3 < this.a; i3++) {
int i4 = bArr[i3] & UnsignedBytes.MAX_VALUE;
sb.append(i4 < 64 ? '#' : i4 < 128 ? '+' : i4 < 192 ? '.' : ' ');
}
sb.append('\n');
}
return sb.toString();
}
}