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

86 lines
2.2 KiB
Java

package o;
import java.io.Serializable;
import java.util.Map;
import java.util.Objects;
/* renamed from: o.gke, reason: case insensitive filesystem */
/* loaded from: classes6.dex */
public abstract class AbstractC15218gke<L, R> implements Map.Entry<L, R>, Comparable<AbstractC15218gke<L, R>>, Serializable {
public abstract R c();
public abstract L d();
@Override // java.lang.Comparable
public /* synthetic */ int compareTo(Object obj) {
return new gjN().b(null, null, null).b(null, null, null).b;
}
/* renamed from: o.gke$LWm */
/* loaded from: classes6.dex */
static final class LWm<L, R> extends AbstractC15218gke<L, R> {
@Override // o.AbstractC15218gke
public final R c() {
return null;
}
@Override // o.AbstractC15218gke
public final L d() {
return null;
}
@Override // java.util.Map.Entry
public final R setValue(R r) {
return null;
}
private LWm() {
}
@Override // o.AbstractC15218gke, java.lang.Comparable
public final /* synthetic */ int compareTo(Object obj) {
return AbstractC15218gke.a();
}
}
public static int a() {
return new gjN().b(null, null, null).b(null, null, null).b;
}
@Override // java.util.Map.Entry
public boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof Map.Entry)) {
return false;
}
Map.Entry entry = (Map.Entry) obj;
return Objects.equals(getKey(), entry.getKey()) && Objects.equals(getValue(), entry.getValue());
}
@Override // java.util.Map.Entry
public final L getKey() {
return d();
}
@Override // java.util.Map.Entry
public R getValue() {
return c();
}
@Override // java.util.Map.Entry
public int hashCode() {
return Objects.hashCode(getKey()) ^ Objects.hashCode(getValue());
}
public String toString() {
StringBuilder sb = new StringBuilder("(");
sb.append(d());
sb.append(',');
sb.append(c());
sb.append(')');
return sb.toString();
}
}