what-the-bank/sources/com/google/android/gms/internal/p002firebaseauthapi/zzaf.java

41 lines
1.1 KiB
Java

package com.google.android.gms.internal.p002firebaseauthapi;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
/* loaded from: classes2.dex */
public final class zzaf {
private final zzn zza;
private final zzae zzb;
public static zzaf zzb(char c) {
return new zzaf(new zzaa(new zzk('.')));
}
public static zzaf zzc(String str) {
zzq zza = zzx.zza("[.-]");
if (!((zzs) zza.zza("")).zza.matches()) {
return new zzaf(new zzac(zza));
}
throw new IllegalArgumentException(zzag.zzb("The pattern may not match the empty string: %s", zza));
}
public final List zzd(CharSequence charSequence) {
charSequence.getClass();
Iterator zza = this.zzb.zza(this, charSequence);
ArrayList arrayList = new ArrayList();
while (zza.hasNext()) {
arrayList.add((String) zza.next());
}
return Collections.unmodifiableList(arrayList);
}
private zzaf(zzae zzaeVar) {
zzm zzmVar = zzm.zza;
this.zzb = zzaeVar;
this.zza = zzmVar;
}
}