public enum CensusMode extends Enum<CensusMode>
| Enum Constant and Description |
|---|
History
The history of the census score.
|
RegionRank
The nation's regional rank on the scale.
|
RegionRankPercent
The nation's regional rank on the scale, as a percentage.
|
Score
The nation's individual score, or the region's or world's average score.
|
WorldRank
The nation's or region's world-wide rank on the scale.
|
WorldRankPercent
The nation's or region's world-wide rank on the scale, as a percentage.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
Return the underlying option name.
|
static CensusMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CensusMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CensusMode Score
public static final CensusMode WorldRank
public static final CensusMode RegionRank
public static final CensusMode WorldRankPercent
public static final CensusMode RegionRankPercent
public static final CensusMode History
public static CensusMode[] values()
for (CensusMode c : CensusMode.values()) System.out.println(c);
public static CensusMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<CensusMode>Copyright © 2016. All rights reserved.