ソース掲示板




すべてから検索

キーワード   条件 表示 現行ログ 過去ログ トピックス 名前 本文
Spinner 用 Key と Value をセットする汎用型 クラス(KeyValue) / Android
日時: 2016/11/01 14:22
名前: lightbox



拡張子:
public class KeyValue {

	private String code;
	private String name;

	public KeyValue() {	}

	public KeyValue(String code, String name) {
		this.code = code;
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return name;
	}
}
メンテナンス


日時: 2016/11/01 14:22
名前: lightbox