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

78 lines
2.1 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.io.IOException;
import java.io.Serializable;
import java.io.Writer;
/* loaded from: classes6.dex */
public final class gjC extends Writer implements Serializable {
private final StringBuilder d;
@Override // java.io.Writer, java.io.Closeable, java.lang.AutoCloseable
public final void close() {
}
@Override // java.io.Writer, java.io.Flushable
public final void flush() {
}
@Override // java.io.Writer, java.lang.Appendable
public final /* bridge */ /* synthetic */ Appendable append(char c) throws IOException {
return append(c);
}
@Override // java.io.Writer, java.lang.Appendable
public final /* bridge */ /* synthetic */ Appendable append(CharSequence charSequence) throws IOException {
return append(charSequence);
}
@Override // java.io.Writer, java.lang.Appendable
public final /* bridge */ /* synthetic */ Appendable append(CharSequence charSequence, int i, int i2) throws IOException {
return append(charSequence, i, i2);
}
public gjC() {
this.d = new StringBuilder();
}
public gjC(byte b) {
this.d = new StringBuilder(4);
}
@Override // java.io.Writer, java.lang.Appendable
public final Writer append(char c) {
this.d.append(c);
return this;
}
@Override // java.io.Writer, java.lang.Appendable
public final Writer append(CharSequence charSequence) {
this.d.append(charSequence);
return this;
}
@Override // java.io.Writer, java.lang.Appendable
public final Writer append(CharSequence charSequence, int i, int i2) {
this.d.append(charSequence, i, i2);
return this;
}
@Override // java.io.Writer
public final void write(String str) {
if (str != null) {
this.d.append(str);
}
}
@Override // java.io.Writer
public final void write(char[] cArr, int i, int i2) {
if (cArr != null) {
this.d.append(cArr, i, i2);
}
}
public final String toString() {
return this.d.toString();
}
}