setName method
Implementation
void setName(String name) {
_name = name;
for (int i = 0, j = JIE_QI.length; i < j; i++) {
if (name == JIE_QI[i]) {
if (i % 2 == 0) {
_qi = true;
} else {
_jie = true;
}
return;
}
}
}