public enum CensusMode extends Enum<CensusMode>
| Enum Constant and Description |
|---|
HISTORY
The history of the census score.
|
REGION_RANK
The nation's regional rank on the scale.
|
REGION_RANK_PERCENT
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.
|
WORLD_RANK
The nation's or region's world-wide rank on the scale.
|
WORLD_RANK_PERCENT
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 WORLD_RANK
public static final CensusMode REGION_RANK
public static final CensusMode WORLD_RANK_PERCENT
public static final CensusMode REGION_RANK_PERCENT
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 © 2017. All rights reserved.