public static enum INewsFilter.Region extends Enum<INewsFilter.Region>
INewsFilter.Country
groupingEnum Constant and Description |
---|
Africa |
Asia |
CentralAmerica |
Combined |
Europe |
NorthAmerica |
Pacific |
SouthAmerica |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static INewsFilter.Region |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static INewsFilter.Region[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final INewsFilter.Region Combined
public static final INewsFilter.Region Europe
public static final INewsFilter.Region NorthAmerica
public static final INewsFilter.Region CentralAmerica
public static final INewsFilter.Region SouthAmerica
public static final INewsFilter.Region Asia
public static final INewsFilter.Region Africa
public static final INewsFilter.Region Pacific
public final String name
public static INewsFilter.Region[] values()
for (INewsFilter.Region c : INewsFilter.Region.values()) System.out.println(c);
public static INewsFilter.Region 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<INewsFilter.Region>
Copyright © 2016. All rights reserved.