Skip to content

Instantly share code, notes, and snippets.

@Mugi4ok
Created April 16, 2015 15:36
Show Gist options
  • Save Mugi4ok/415d7aec8af4b1ee9285 to your computer and use it in GitHub Desktop.
Save Mugi4ok/415d7aec8af4b1ee9285 to your computer and use it in GitHub Desktop.
Params
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