|
Oracle | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.compoze.util.CountryRegionEnumerator.Country
public class CountryRegionEnumerator.Country
This class represents a country.
| Constructor Summary | |
|---|---|
CountryRegionEnumerator.Country(java.lang.String sFullName,
java.lang.String sAbbreviatedName)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addRegion(CountryRegionEnumerator.Region region)
Add a region to the country. |
int |
compareTo(java.lang.Object o1)
Compare this country to the given one. |
java.lang.String |
getAbbreviatedName()
Get the abbreviated name of the country. |
java.lang.String |
getFullName()
Get the full name of the country. |
java.util.TreeMap |
getRegions()
Get all of the regions for a country. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CountryRegionEnumerator.Country(java.lang.String sFullName,
java.lang.String sAbbreviatedName)
sFullName - the full name of the countrysAbbreviatedName - the abbreviated name of the country| Method Detail |
|---|
public void addRegion(CountryRegionEnumerator.Region region)
region - the region to addpublic java.util.TreeMap getRegions()
sCountry -
public java.lang.String getFullName()
public java.lang.String getAbbreviatedName()
public int compareTo(java.lang.Object o1)
compareTo in interface java.lang.Comparableo1 - object to compare to (must be a Country)
Comparable
|
Oracle | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||