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