Datasets:
ArXiv:
License:
Download data/train/CDZR0/BattleShip/src/battleship/DataPackage/ShotData.java from RepoFusion/Stack-Repo: direct link, hf CLI and curl.
- Browser
- Download file 379 Bytes
-
https://huggingface.co/datasets/RepoFusion/Stack-Repo/resolve/main/data/train/CDZR0/BattleShip/src/battleship/DataPackage/ShotData.java
- Command line
-
hf download hf://datasets/RepoFusion/Stack-Repo/data/train/CDZR0/BattleShip/src/battleship/DataPackage/ShotData.java
-
curl -L -o ShotData.java https://huggingface.co/datasets/RepoFusion/Stack-Repo/resolve/main/data/train/CDZR0/BattleShip/src/battleship/DataPackage/ShotData.java
379 Bytes
| //Csaba | |
| package battleship.DataPackage; | |
| /** | |
| * | |
| * @author Csaba | |
| */ | |
| public class ShotData extends Data { | |
| int i; | |
| int j; | |
| public ShotData(int clientID, int i, int j) { | |
| super(clientID); | |
| this.i = i; | |
| this.j = j; | |
| } | |
| public int getI() { | |
| return i; | |
| } | |
| public int getJ() { | |
| return j; | |
| } | |
| } | |