@Test public void testGetLowertNeighbour() { BingTileIdentifier neighbour = new BingTileIdentifier(10, 13, new WebMercatorZoomLevel(5), "SomeService"); Assert.assertEquals(neighbour, this.tileId.getLowerNeighbour()); }
public BingTileIdentifier getLowerNeighbour() { return new BingTileIdentifier( getX(), TileIdentifier.arithmeticMod((getY() + 1), getZoomLevel().getMaxTilePerRowNumber()), getZoomLevel(), getServiceName()); }
BingTileIdentifier extends TileIdentifier { public BingTileIdentifier getLowerNeighbour() { return new BingTileIdentifier( getX(), TileIdentifier.arithmeticMod((getY() + 1), getZoomLevel().getMaxTilePerRowNumber()), getZoomLevel(), getServiceName()); } }
BingTileIdentifier extends TileIdentifier { public BingTileIdentifier getLowerNeighbour() { return new BingTileIdentifier( getX(), TileIdentifier.arithmeticMod((getY() + 1), getZoomLevel().getMaxTilePerRowNumber()), getZoomLevel(), getServiceName()); } BingTileIdentifier(int x, int y, ZoomLevel zoomLevel, String serviceName); }
BingTileIdentifier extends TileIdentifier { public BingTileIdentifier getLowerNeighbour() { return new BingTileIdentifier( getX(), TileIdentifier.arithmeticMod((getY() + 1), getZoomLevel().getMaxTilePerRowNumber()), getZoomLevel(), getServiceName()); } BingTileIdentifier(int x, int y, ZoomLevel zoomLevel, String serviceName); BingTileIdentifier getRightNeighbour(); BingTileIdentifier getLowerNeighbour(); String getId(); String getCode(); }
BingTileIdentifier extends TileIdentifier { public BingTileIdentifier getLowerNeighbour() { return new BingTileIdentifier( getX(), TileIdentifier.arithmeticMod((getY() + 1), getZoomLevel().getMaxTilePerRowNumber()), getZoomLevel(), getServiceName()); } BingTileIdentifier(int x, int y, ZoomLevel zoomLevel, String serviceName); BingTileIdentifier getRightNeighbour(); BingTileIdentifier getLowerNeighbour(); String getId(); String getCode();  }