FileDocCategorySizeDatePackage
Country8.javaAPI DocExample2391Sun Dec 14 22:47:36 GMT 2003oreilly.hcj.constants

Country8

public final class Country8 extends ConstantObject
Holds country constants.
author
Robert Simmons jr. (kraythe)
version
$Revision: 1.3 $

Fields Summary
public static final Country8
CANADA
Contry constant for Canada.
public static final Country8
CROATIA
Contry constant for Croatia.
public static final Country8
GERMANY
Contry constant for Germany.
public static final Country8
ITALY
Contry constant for Italy.
public static final Country8
MEXICO
Contry constant for Mexico.
public static final Country8
UK
Contry constant for the UK.
public static final Country8
USA
Contry constant for the USA.
public static final Country8
VENEZUELA
Contry constant for the Venezuela.
private float
population
Holds the abbreviation for the Country in millions.
Constructors Summary
private Country8(String name, float population)
Creates a new Country8.

param
name The name for the country type.
param
population The country's population in millions of people.


	                      	 
	       
		super(name);
		this.population = population;
	
Methods Summary
public final floatgetPopulation()
Gets the population.

return
The country's population in millions of people.

		return this.population;
	
public final voidsetPopulation(float population)
Sets the population.

param
population The country's new population in millions of people.

		this.population = population;