com.belerweb.social.qq.connect.bean
Enum Gut
java.lang.Object
java.lang.Enum<Gut>
com.belerweb.social.qq.connect.bean.Gut
- All Implemented Interfaces:
- Serializable, Comparable<Gut>
public enum Gut
- extends Enum<Gut>
QQ登录页面版本
|
Method Summary |
String |
toString()
|
int |
value()
|
static Gut |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Gut[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
WML
public static final Gut WML
XHTML
public static final Gut XHTML
values
public static Gut[] 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 (Gut c : Gut.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Gut 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 name
NullPointerException - if the argument is null
value
public int value()
toString
public String toString()
- Overrides:
toString in class Enum<Gut>
Copyright © 2014. All Rights Reserved.