Created
April 16, 2015 15:36
-
-
Save Mugi4ok/415d7aec8af4b1ee9285 to your computer and use it in GitHub Desktop.
Params
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.Serializable; | |
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
/** | |
* | |
* @author mugi4_000 | |
*/ | |
public class Params implements Serializable { | |
private int key; | |
private String value; | |
public int getKey() { | |
return key; | |
} | |
public void setKey(int key) { | |
this.key = key; | |
} | |
public String getValue() { | |
return value; | |
} | |
public void setValue(String value) { | |
this.value = value; | |
} | |
public void put (int key, String value) { | |
this.key = key; | |
this.value = value; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment