@Test public void downloadJobTest() { Tile tile = new Tile(0, 0, (byte) 0); TileSource tileSource = OpenStreetMapMapnik.INSTANCE; DownloadJob downloadJob = createDownloadJob(tile, tileSource); Assert.assertEquals(tile, downloadJob.tile); Assert.assertEquals(tileSource, downloadJob.tileSource); verifyInvalidConstructor(tile, null); }
public DownloadJob(Tile tile, int tileSize, TileSource tileSource) { super(tile, tileSize, tileSource.hasAlpha()); this.tileSource = tileSource; }
DownloadJob extends Job { public DownloadJob(Tile tile, int tileSize, TileSource tileSource) { super(tile, tileSize, tileSource.hasAlpha()); this.tileSource = tileSource; } }
DownloadJob extends Job { public DownloadJob(Tile tile, int tileSize, TileSource tileSource) { super(tile, tileSize, tileSource.hasAlpha()); this.tileSource = tileSource; } DownloadJob(Tile tile, int tileSize, TileSource tileSource); }
DownloadJob extends Job { public DownloadJob(Tile tile, int tileSize, TileSource tileSource) { super(tile, tileSize, tileSource.hasAlpha()); this.tileSource = tileSource; } DownloadJob(Tile tile, int tileSize, TileSource tileSource); @Override boolean equals(Object obj); @Override int hashCode(); }
DownloadJob extends Job { public DownloadJob(Tile tile, int tileSize, TileSource tileSource) { super(tile, tileSize, tileSource.hasAlpha()); this.tileSource = tileSource; } DownloadJob(Tile tile, int tileSize, TileSource tileSource); @Override boolean equals(Object obj); @Override int hashCode(); final TileSource tileSource; }