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

22 lines
790 B
Java

package o;
/* renamed from: o.gdX, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public class C14968gdX {
/* JADX WARN: Multi-variable type inference failed */
public static final <T> void e(Appendable appendable, T t, InterfaceC14894gbR<? super T, ? extends CharSequence> interfaceC14894gbR) {
C14957gcv.e(appendable, "");
if (interfaceC14894gbR != null) {
appendable.append(interfaceC14894gbR.invoke(t));
return;
}
if (t == 0 || (t instanceof CharSequence)) {
appendable.append((CharSequence) t);
} else if (t instanceof Character) {
appendable.append(((Character) t).charValue());
} else {
appendable.append(String.valueOf(t));
}
}
}