public enum WorldShard extends Enum<WorldShard> implements Shard
| Enum Constant and Description |
|---|
Census
The world's census scores.
|
CensusDescriptions
Descriptions of the current or selected census.
|
CensusId
Id of the current census.
|
CensusName
Name of the current or selected census.
|
CensusRanks
The census scores of the world's nations.
|
CensusScale
The scale of the current or selected census.
|
CensusTitle
The title of the current or selected census.
|
Dispatches
The latest hottest or selected dispatches.
|
FeaturedRegion
Name of today's featured region.
|
Happenings
List of the most recent or selected happenings.
|
Nations
List of all nations in the world.
|
NewestNations
List of newest nations.
|
NumberOfNations
The number of nations in the world.
|
NumberOfRegions
The number of regions in the world.
|
Regions
List of all regions in the world.
|
RegionsByTag
List of regions selected by tag.
|
SelectedDispatch
The selected dispatch.
|
SelectedPoll
The selected poll.
|
| Modifier and Type | Method and Description |
|---|---|
String |
shardName()
Returns the underlying name of the shard.
|
static WorldShard |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorldShard[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorldShard Census
public static final WorldShard CensusId
public static final WorldShard CensusDescriptions
public static final WorldShard CensusName
public static final WorldShard CensusRanks
public static final WorldShard CensusScale
public static final WorldShard CensusTitle
public static final WorldShard SelectedDispatch
public static final WorldShard Dispatches
public static final WorldShard FeaturedRegion
public static final WorldShard Happenings
public static final WorldShard Nations
public static final WorldShard NewestNations
public static final WorldShard NumberOfNations
public static final WorldShard NumberOfRegions
public static final WorldShard SelectedPoll
public static final WorldShard Regions
public static final WorldShard RegionsByTag
public static WorldShard[] values()
for (WorldShard c : WorldShard.values()) System.out.println(c);
public static WorldShard 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 nullCopyright © 2016. All rights reserved.