public class LatLngSpan
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static <any> |
CREATOR |
Constructor and Description |
---|
LatLngSpan(double latitudeSpan,
double longitudeSpan)
创建一个地理跨度对象
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object object) |
double |
getLatitudeSpan()
返回纬度跨度
|
double |
getLongitudeSpan()
返回经度跨度
|
int |
hashCode() |
void |
setLatitudeSpan(double latitudeSpan)
设置纬度跨度
|
void |
setLongitudeSpan(double longitudeSpan)
设置经度跨度
|
void |
writeToParcel(Parcel out,
int flags) |
public LatLngSpan(double latitudeSpan, double longitudeSpan)
latitudeSpan
- 纬度跨度longitudeSpan
- 经度跨度public double getLatitudeSpan()
public void setLatitudeSpan(double latitudeSpan)
latitudeSpan
- 纬度跨度public double getLongitudeSpan()
public void setLongitudeSpan(double longitudeSpan)
longitudeSpan
- 经度跨度public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int describeContents()
public void writeToParcel(Parcel out, int flags)
public int hashCode()
hashCode
in class java.lang.Object