Datasets:
ArXiv:
License:
| package battleship.DataPackage; | |
| public abstract class Data { | |
| protected int clientID; | |
| protected int recipientID; | |
| Data(int clientID) { | |
| this.clientID = clientID; | |
| this.recipientID = -1; | |
| } | |
| public int getClientID() { | |
| return clientID; | |
| } | |
| public int getRecipientID() { | |
| return recipientID; | |
| } | |
| public void setRecipientID(int recipientID) { | |
| this.recipientID = recipientID; | |
| } | |
| } | |