what-the-bank/sources/o/C7429coC.java

56 lines
1.4 KiB
Java

package o;
import com.airbnb.deeplinkdispatch.UrlTreeKt;
import com.google.android.gms.maps.model.LatLng;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import o.YPs;
/* renamed from: o.coC, reason: case insensitive filesystem */
/* loaded from: classes2.dex */
public final class C7429coC<T extends YPs> implements InterfaceC5208boh<T> {
private final LatLng a;
final List<T> e = new ArrayList();
public C7429coC(LatLng latLng) {
this.a = latLng;
}
@Override // o.InterfaceC5208boh
public final int d() {
return this.e.size();
}
public final String toString() {
StringBuilder sb = new StringBuilder("StaticCluster{mCenter=");
sb.append(this.a);
sb.append(", mItems.size=");
sb.append(this.e.size());
sb.append(UrlTreeKt.componentParamSuffixChar);
return sb.toString();
}
public final int hashCode() {
return this.a.hashCode() + this.e.hashCode();
}
public final boolean equals(Object obj) {
if (!(obj instanceof C7429coC)) {
return false;
}
C7429coC c7429coC = (C7429coC) obj;
return c7429coC.a.equals(this.a) && c7429coC.e.equals(this.e);
}
@Override // o.InterfaceC5208boh
public final LatLng c() {
return this.a;
}
@Override // o.InterfaceC5208boh
public final Collection<T> a() {
return this.e;
}
}