50 lines
1.4 KiB
Java
50 lines
1.4 KiB
Java
package o;
|
|
|
|
import android.location.Address;
|
|
import java.util.List;
|
|
import java.util.NoSuchElementException;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class XeU extends ZTC {
|
|
@InterfaceC13391fZD
|
|
public XeU() {
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public static /* synthetic */ boolean QJ_(Address address) {
|
|
return address.getLocality() != null;
|
|
}
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
public static C14553fvQ c(List<Address> list) {
|
|
String str;
|
|
zEQ d;
|
|
T t;
|
|
try {
|
|
YKU yku = new YKU(list);
|
|
YKU yku2 = new YKU(yku.a, new GEP(yku.b, new Jel() { // from class: o.OAs
|
|
@Override // o.Jel
|
|
public final boolean e(Object obj) {
|
|
return XeU.QJ_((Address) obj);
|
|
}
|
|
}));
|
|
if (yku2.b.hasNext()) {
|
|
d = zEQ.a(yku2.b.next());
|
|
} else {
|
|
d = zEQ.d();
|
|
}
|
|
t = d.d;
|
|
} catch (Exception e) {
|
|
guQ.a(e);
|
|
str = "";
|
|
}
|
|
if (t != 0) {
|
|
str = ((Address) t).getLocality();
|
|
C14553fvQ c14553fvQ = new C14553fvQ();
|
|
c14553fvQ.b = str;
|
|
return c14553fvQ;
|
|
}
|
|
throw new NoSuchElementException("No value present");
|
|
}
|
|
}
|