逆コンパイルenum
1231 ワード
public final class Gender extends Enum
{
public static final Gender Male;
public static final Gender Female;
public static final Gender Unknown;
private static final Gender $VALUES[];
public static Gender[] values()
{
return (Gender[])$VALUES.clone();
}
public static Gender valueOf(String s)
{
return (Gender)Enum.valueOf(Gender, s);
}
private Gender(String s, int i)
{
super(s, i);
}
static
{
Male = new Gender("Male", 0);
Female = new Gender("Female", 1);
Unknown = new Gender("Unknown", 2);
$VALUES = (new Gender[] {
Male, Female, Unknown
});
}
}
public enum Gender
{
Male,
Female,
Unknown;
}
ネット上のこの文章は以下の通りです.
http://blog.csdn.net/meng72ndsc/article/details/5824434