what-the-bank/sources/androidx/core/content/LocusIdCompat.java

49 lines
1.2 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package androidx.core.content;
import android.content.LocusId;
/* loaded from: classes.dex */
public final class LocusIdCompat {
private final LocusId b;
private final String c;
public final int hashCode() {
String str = this.c;
return (str == null ? 0 : str.hashCode()) + 31;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || getClass() != obj.getClass()) {
return false;
}
LocusIdCompat locusIdCompat = (LocusIdCompat) obj;
String str = this.c;
if (str == null) {
return locusIdCompat.c == null;
}
return str.equals(locusIdCompat.c);
}
public final String toString() {
StringBuilder sb = new StringBuilder("LocusIdCompat[");
sb.append(a());
sb.append("]");
return sb.toString();
}
private String a() {
int length = this.c.length();
StringBuilder sb = new StringBuilder();
sb.append(length);
sb.append("_chars");
return sb.toString();
}
public final LocusId nv_() {
return this.b;
}
}