Package com.twitter.clientlib.model
Enum Geo.TypeEnum
- java.lang.Object
-
- java.lang.Enum<Geo.TypeEnum>
-
- com.twitter.clientlib.model.Geo.TypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<Geo.TypeEnum>
- Enclosing class:
- Geo
public static enum Geo.TypeEnum extends Enum<Geo.TypeEnum>
Gets or Sets type
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGeo.TypeEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description FEATURE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Geo.TypeEnumfromValue(String value)StringgetValue()StringtoString()static Geo.TypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static Geo.TypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FEATURE
public static final Geo.TypeEnum FEATURE
-
-
Method Detail
-
values
public static Geo.TypeEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Geo.TypeEnum c : Geo.TypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Geo.TypeEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<Geo.TypeEnum>
-
fromValue
public static Geo.TypeEnum fromValue(String value)
-
-