45 lines
1.0 KiB
Java
45 lines
1.0 KiB
Java
|
package net.sf.scuba.data;
|
||
|
|
||
|
/* loaded from: classes6.dex */
|
||
|
public enum Gender {
|
||
|
MALE { // from class: net.sf.scuba.data.Gender.1
|
||
|
@Override // net.sf.scuba.data.Gender
|
||
|
public final int c() {
|
||
|
return 1;
|
||
|
}
|
||
|
},
|
||
|
FEMALE { // from class: net.sf.scuba.data.Gender.4
|
||
|
@Override // net.sf.scuba.data.Gender
|
||
|
public final int c() {
|
||
|
return 2;
|
||
|
}
|
||
|
},
|
||
|
UNKNOWN { // from class: net.sf.scuba.data.Gender.2
|
||
|
@Override // net.sf.scuba.data.Gender
|
||
|
public final int c() {
|
||
|
return 255;
|
||
|
}
|
||
|
},
|
||
|
UNSPECIFIED { // from class: net.sf.scuba.data.Gender.3
|
||
|
@Override // net.sf.scuba.data.Gender
|
||
|
public final int c() {
|
||
|
return 0;
|
||
|
}
|
||
|
};
|
||
|
|
||
|
public abstract int c();
|
||
|
|
||
|
/* synthetic */ Gender(byte b) {
|
||
|
this();
|
||
|
}
|
||
|
|
||
|
public static Gender b(int i) {
|
||
|
for (Gender gender : values()) {
|
||
|
if (gender.c() == i) {
|
||
|
return gender;
|
||
|
}
|
||
|
}
|
||
|
return UNKNOWN;
|
||
|
}
|
||
|
}
|