what-the-bank/sources/com/facetec/sdk/dy.java

86 lines
2.0 KiB
Java

package com.facetec.sdk;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
/* loaded from: classes.dex */
public final class dy extends eb implements Iterable<eb> {
private final List<eb> b = new ArrayList();
public final void d(String str) {
this.b.add(str == null ? ea.a : new eh(str));
}
public final void d(eb ebVar) {
if (ebVar == null) {
ebVar = ea.a;
}
this.b.add(ebVar);
}
@Override // java.lang.Iterable
public final Iterator<eb> iterator() {
return this.b.iterator();
}
@Override // com.facetec.sdk.eb
public final Number e() {
if (this.b.size() == 1) {
return this.b.get(0).e();
}
throw new IllegalStateException();
}
@Override // com.facetec.sdk.eb
public final String b() {
if (this.b.size() == 1) {
return this.b.get(0).b();
}
throw new IllegalStateException();
}
@Override // com.facetec.sdk.eb
public final double c() {
if (this.b.size() == 1) {
return this.b.get(0).c();
}
throw new IllegalStateException();
}
@Override // com.facetec.sdk.eb
public final long d() {
if (this.b.size() == 1) {
return this.b.get(0).d();
}
throw new IllegalStateException();
}
@Override // com.facetec.sdk.eb
public final int a() {
if (this.b.size() == 1) {
return this.b.get(0).a();
}
throw new IllegalStateException();
}
@Override // com.facetec.sdk.eb
public final boolean j() {
if (this.b.size() == 1) {
return this.b.get(0).j();
}
throw new IllegalStateException();
}
public final boolean equals(Object obj) {
if (obj != this) {
return (obj instanceof dy) && ((dy) obj).b.equals(this.b);
}
return true;
}
public final int hashCode() {
return this.b.hashCode();
}
}