Package org.mapsforge.map.layer.queue
Class Job
- java.lang.Object
-
- org.mapsforge.map.layer.queue.Job
-
- Direct Known Subclasses:
DownloadJob
,RendererJob
public class Job extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Job(org.mapsforge.core.model.Tile tile, boolean hasAlpha)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
composeKey(java.lang.String z, java.lang.String x, java.lang.String y)
boolean
equals(java.lang.Object obj)
java.lang.String
getKey()
Returns a unique identifier for the tile.int
hashCode()
-
-
-
Method Detail
-
composeKey
public static java.lang.String composeKey(java.lang.String z, java.lang.String x, java.lang.String y)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
getKey
public java.lang.String getKey()
Returns a unique identifier for the tile. The key has the formzoom/x/y
, which is the de-facto standard for tile references. The default path separator character of the platform is used betweenzoom
,x
andy
.- Since:
- 0.5.0
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-