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

74 lines
2.0 KiB
Java

package o;
import o.InterfaceC14912gbn;
/* loaded from: classes.dex */
public final class geV extends AbstractC14904gbf implements InterfaceC15036gfN<String> {
public static final IeS c = new IeS(0);
final long d;
@Override // o.InterfaceC15036gfN
public final /* synthetic */ void d(String str) {
Thread.currentThread().setName(str);
}
/* loaded from: classes.dex */
public static final class IeS implements InterfaceC14912gbn.HBt<geV> {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
public geV(long j) {
super(c);
this.d = j;
}
public final String toString() {
StringBuilder sb = new StringBuilder("CoroutineId(");
sb.append(this.d);
sb.append(')');
return sb.toString();
}
@Override // o.InterfaceC15036gfN
public final /* synthetic */ String e(InterfaceC14912gbn interfaceC14912gbn) {
C15005geX c15005geX = (C15005geX) interfaceC14912gbn.get(C15005geX.d);
if (c15005geX != null) {
String str = c15005geX.a;
}
Thread currentThread = Thread.currentThread();
String name = currentThread.getName();
int e = gdZ.e(name, " @", 0, 6);
if (e < 0) {
e = name.length();
}
StringBuilder sb = new StringBuilder(e + 19);
String substring = name.substring(0, e);
C14957gcv.c((Object) substring, "");
sb.append(substring);
sb.append(" @");
sb.append("coroutine");
sb.append('#');
sb.append(this.d);
String obj = sb.toString();
C14957gcv.c((Object) obj, "");
currentThread.setName(obj);
return name;
}
public final int hashCode() {
return Long.hashCode(this.d);
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
return (obj instanceof geV) && this.d == ((geV) obj).d;
}
}