org.openstreetmap.fma.jtiledownloader.datatypes
Class Tile

java.lang.Object
  extended by org.openstreetmap.fma.jtiledownloader.datatypes.Tile

public class Tile
extends java.lang.Object

Tile


Field Summary
private  int x
           
private  int y
           
private  int z
           
 
Constructor Summary
Tile(int x, int y, int z)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getPath()
          Returns the relative path of a tile
 int getX()
          Getter for x
 int getY()
          Getter for y
 int getZ()
          Getter for z
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

x

private int x

y

private int y

z

private int z
Constructor Detail

Tile

public Tile(int x,
            int y,
            int z)
Parameters:
x -
y -
z -
Method Detail

getX

public int getX()
Getter for x

Returns:
the x

getY

public int getY()
Getter for y

Returns:
the y

getZ

public int getZ()
Getter for z

Returns:
the z

getPath

public java.lang.String getPath()
Returns the relative path of a tile

Returns:
relative tile-image path

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object