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

90 lines
2.3 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.Iterator;
import java.util.Map;
/* loaded from: classes2.dex */
public final class LsH extends GAv {
final vAr a;
/* loaded from: classes2.dex */
static class HBt<K> implements Map.Entry<K, Object> {
Map.Entry<K, LsH> a;
/* synthetic */ HBt(Map.Entry entry, byte b) {
this(entry);
}
private HBt(Map.Entry<K, LsH> entry) {
this.a = entry;
}
@Override // java.util.Map.Entry
public final K getKey() {
return this.a.getKey();
}
@Override // java.util.Map.Entry
public final Object getValue() {
LsH value = this.a.getValue();
if (value == null) {
return null;
}
vAr var = value.a;
return value.b(null);
}
@Override // java.util.Map.Entry
public final Object setValue(Object obj) {
if (!(obj instanceof vAr)) {
throw new IllegalArgumentException("LazyField now only used for MessageSet, and the value of MessageSet must be an instance of MessageLite");
}
LsH value = this.a.getValue();
vAr var = value.b;
value.c = null;
value.e = null;
value.b = (vAr) obj;
return var;
}
}
/* loaded from: classes2.dex */
static class Sts<K> implements Iterator<Map.Entry<K, Object>> {
private Iterator<Map.Entry<K, Object>> e;
@Override // java.util.Iterator
public final /* synthetic */ Object next() {
Map.Entry<K, Object> next = this.e.next();
return next.getValue() instanceof LsH ? new HBt(next, (byte) 0) : next;
}
public Sts(Iterator<Map.Entry<K, Object>> it) {
this.e = it;
}
@Override // java.util.Iterator
public final boolean hasNext() {
return this.e.hasNext();
}
@Override // java.util.Iterator
public final void remove() {
this.e.remove();
}
}
@Override // o.GAv
public final boolean equals(Object obj) {
return b(null).equals(obj);
}
@Override // o.GAv
public final int hashCode() {
return b(null).hashCode();
}
public final String toString() {
return b(null).toString();
}
}