59 lines
1.8 KiB
Java
59 lines
1.8 KiB
Java
|
package com.google.android.libraries.places.api.model;
|
||
|
|
||
|
import com.airbnb.deeplinkdispatch.UrlTreeKt;
|
||
|
import com.google.android.gms.maps.model.LatLng;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
abstract class zzw extends RectangularBounds {
|
||
|
private final LatLng zza;
|
||
|
private final LatLng zzb;
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public zzw(LatLng latLng, LatLng latLng2) {
|
||
|
if (latLng == null) {
|
||
|
throw new NullPointerException("Null southwest");
|
||
|
}
|
||
|
this.zza = latLng;
|
||
|
if (latLng2 == null) {
|
||
|
throw new NullPointerException("Null northeast");
|
||
|
}
|
||
|
this.zzb = latLng2;
|
||
|
}
|
||
|
|
||
|
public final boolean equals(Object obj) {
|
||
|
if (obj == this) {
|
||
|
return true;
|
||
|
}
|
||
|
if (!(obj instanceof RectangularBounds)) {
|
||
|
return false;
|
||
|
}
|
||
|
RectangularBounds rectangularBounds = (RectangularBounds) obj;
|
||
|
return this.zza.equals(rectangularBounds.getSouthwest()) && this.zzb.equals(rectangularBounds.getNortheast());
|
||
|
}
|
||
|
|
||
|
public final int hashCode() {
|
||
|
return ((this.zza.hashCode() ^ 1000003) * 1000003) ^ this.zzb.hashCode();
|
||
|
}
|
||
|
|
||
|
public final String toString() {
|
||
|
String obj = this.zza.toString();
|
||
|
String obj2 = this.zzb.toString();
|
||
|
StringBuilder sb = new StringBuilder("RectangularBounds{southwest=");
|
||
|
sb.append(obj);
|
||
|
sb.append(", northeast=");
|
||
|
sb.append(obj2);
|
||
|
sb.append(UrlTreeKt.componentParamSuffix);
|
||
|
return sb.toString();
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.libraries.places.api.model.RectangularBounds
|
||
|
public final LatLng getSouthwest() {
|
||
|
return this.zza;
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.libraries.places.api.model.RectangularBounds
|
||
|
public final LatLng getNortheast() {
|
||
|
return this.zzb;
|
||
|
}
|
||
|
}
|