what-the-bank/sources/com/google/android/gms/internal/vision/zzgk.java

38 lines
994 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.internal.vision;
import java.util.Map;
/* loaded from: classes2.dex */
final class zzgk<K> implements Map.Entry<K, Object> {
private Map.Entry<K, zzgi> zzyf;
private zzgk(Map.Entry<K, zzgi> entry) {
this.zzyf = entry;
}
@Override // java.util.Map.Entry
public final K getKey() {
return this.zzyf.getKey();
}
@Override // java.util.Map.Entry
public final Object getValue() {
if (this.zzyf.getValue() == null) {
return null;
}
return zzgi.zzfr();
}
public final zzgi zzfs() {
return this.zzyf.getValue();
}
@Override // java.util.Map.Entry
public final Object setValue(Object obj) {
if (!(obj instanceof zzhf)) {
throw new IllegalArgumentException("LazyField now only used for MessageSet, and the value of MessageSet must be an instance of MessageLite");
}
return this.zzyf.getValue().zzi((zzhf) obj);
}
}