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

50 lines
1.2 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
/* loaded from: classes.dex */
public final class PuY implements taQ, Serializable {
private String a;
private transient String e;
public PuY(String str) {
if (str == null) {
throw new IllegalStateException("Null String illegal for SerializedString");
}
this.a = str;
}
private void readObject(ObjectInputStream objectInputStream) throws IOException {
this.e = objectInputStream.readUTF();
}
private void writeObject(ObjectOutputStream objectOutputStream) throws IOException {
objectOutputStream.writeUTF(this.a);
}
protected final Object readResolve() {
return new PuY(this.e);
}
public final int hashCode() {
return this.a.hashCode();
}
public final boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (obj == null || obj.getClass() != getClass()) {
return false;
}
return this.a.equals(((PuY) obj).a);
}
public final String toString() {
return this.a;
}
}