46 lines
1.3 KiB
Java
46 lines
1.3 KiB
Java
|
package com.google.android.libraries.places.api.model;
|
||
|
|
||
|
import com.airbnb.deeplinkdispatch.UrlTreeKt;
|
||
|
import java.util.List;
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
/* loaded from: classes2.dex */
|
||
|
public abstract class zzc extends AddressComponents {
|
||
|
private final List zza;
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public zzc(List list) {
|
||
|
if (list == null) {
|
||
|
throw new NullPointerException("Null asList");
|
||
|
}
|
||
|
this.zza = list;
|
||
|
}
|
||
|
|
||
|
public final boolean equals(Object obj) {
|
||
|
if (obj == this) {
|
||
|
return true;
|
||
|
}
|
||
|
if (obj instanceof AddressComponents) {
|
||
|
return this.zza.equals(((AddressComponents) obj).asList());
|
||
|
}
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
public final int hashCode() {
|
||
|
return this.zza.hashCode() ^ 1000003;
|
||
|
}
|
||
|
|
||
|
public final String toString() {
|
||
|
String obj = this.zza.toString();
|
||
|
StringBuilder sb = new StringBuilder("AddressComponents{asList=");
|
||
|
sb.append(obj);
|
||
|
sb.append(UrlTreeKt.componentParamSuffix);
|
||
|
return sb.toString();
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.libraries.places.api.model.AddressComponents
|
||
|
public final List<AddressComponent> asList() {
|
||
|
return this.zza;
|
||
|
}
|
||
|
}
|