countries.java

来自「IBM RSA下的JSF开发示例」· Java 代码 · 共 40 行

JAVA
40
字号
/* Countries.java
 * Created on Jan 11, 2005
 *
 *A class to hold Continent and Country names.
 */
package com.ibm.samples.eventHandling;

/**
 * @author cmjaun
 *
 */
public class Countries {
	String continent;
	String[] countries;
	/**
	 * @return Returns the continent.
	 */
	public String getContinent() {
		return continent;
	}
	/**
	 * @param continent The continent to set.
	 */
	public void setContinent(String continent) {
		this.continent = continent;
	}
	/**
	 * @return Returns the countries.
	 */
	public String[] getCountries() {
		return countries;
	}
	/**
	 * @param countries The countries to set.
	 */
	public void setCountries(String[] countries) {
		this.countries = countries;
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?