public class SRTMTileId
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
latitude
The latitude of the
SRTMTile . |
int |
longitude
The longitude of the
SRTMTile . |
Constructor and Description |
---|
SRTMTileId(int latitude,
int longitude)
Create an SRTMTileId object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Indicate whether some other object is "equal to" this one.
|
int |
hashCode()
Return hashcode of this object
|
java.lang.String |
toString()
Produce a String describing this object.
|
public final int latitude
SRTMTile
.public final int longitude
SRTMTile
.public SRTMTileId(int latitude, int longitude)
latitude
- int latitude of the tile in integer whole degreeslongitude
- int longitude of the tile in integer whole degreespublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- Object to comparepublic int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object