public class LatLngSpan
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static <any> |
CREATOR
Inner class responsible for recreating Parcels into objects.
|
| Constructor and Description |
|---|
LatLngSpan(double latitudeSpan,
double longitudeSpan)
Creates a LatLgnSpan.
|
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents()
Describe the kinds of special objects contained in this Parcelable instance's marshaled representation.
|
boolean |
equals(java.lang.Object object)
Indicates whether some other object is "equal to" this one.
|
double |
getLatitudeSpan()
Returns the latitude span.
|
double |
getLongitudeSpan()
Returns to longitude span.
|
int |
hashCode()
Returns a hash code value for the object.
|
void |
setLatitudeSpan(double latitudeSpan)
Sets the latitude span.
|
void |
setLongitudeSpan(double longitudeSpan)
Sets the longitude span.
|
void |
writeToParcel(Parcel out,
int flags)
Flatten this object in to a Parcel.
|
public static final <any> CREATOR
public LatLngSpan(double latitudeSpan,
double longitudeSpan)
latitudeSpan - The span used for latitude.longitudeSpan - The span used for longitude.public double getLatitudeSpan()
public void setLatitudeSpan(double latitudeSpan)
latitudeSpan - The latitude span to set.public double getLongitudeSpan()
public void setLongitudeSpan(double longitudeSpan)
longitudeSpan - The longitude span to set.public boolean equals(java.lang.Object object)
equals in class java.lang.Objectobject - The object to comparepublic int describeContents()
public void writeToParcel(@NonNull
Parcel out,
int flags)
out - Parcel in which the object should be writtenflags - Additional flags about how the object should be writtenpublic int hashCode()
hashCode in class java.lang.Object