57 lines
1.5 KiB
Java
57 lines
1.5 KiB
Java
|
package com.google.android.gms.internal.gtm;
|
||
|
|
||
|
import java.util.HashMap;
|
||
|
import java.util.Iterator;
|
||
|
import java.util.Map;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public abstract class zzoa<T> {
|
||
|
protected Map<String, zzoa<?>> zzaud;
|
||
|
|
||
|
public abstract String toString();
|
||
|
|
||
|
public abstract T value();
|
||
|
|
||
|
public boolean zzcp(String str) {
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
public final void zzc(String str, zzoa<?> zzoaVar) {
|
||
|
if (this.zzaud == null) {
|
||
|
this.zzaud = new HashMap();
|
||
|
}
|
||
|
this.zzaud.put(str, zzoaVar);
|
||
|
}
|
||
|
|
||
|
public final boolean zzcn(String str) {
|
||
|
Map<String, zzoa<?>> map = this.zzaud;
|
||
|
return map != null && map.containsKey(str);
|
||
|
}
|
||
|
|
||
|
public zzoa<?> zzco(String str) {
|
||
|
Map<String, zzoa<?>> map = this.zzaud;
|
||
|
return map != null ? map.get(str) : zzog.zzaum;
|
||
|
}
|
||
|
|
||
|
public Iterator<zzoa<?>> zzmf() {
|
||
|
return new zzoc(null);
|
||
|
}
|
||
|
|
||
|
public zzgz zzcq(String str) {
|
||
|
StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 56);
|
||
|
sb.append("Attempting to access Native Method ");
|
||
|
sb.append(str);
|
||
|
sb.append(" on unsupported type.");
|
||
|
throw new IllegalStateException(sb.toString());
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: protected */
|
||
|
public final Iterator<zzoa<?>> zzmg() {
|
||
|
Map<String, zzoa<?>> map = this.zzaud;
|
||
|
if (map == null) {
|
||
|
return new zzoc(null);
|
||
|
}
|
||
|
return new zzob(this, map.keySet().iterator());
|
||
|
}
|
||
|
}
|