valueFromName static method
Implementation
static BatteryTernary valueFromName(String name) {
for (int i = 0; i < _values.length; ++i) {
BatteryTernary num = _values[i];
if (num.getName() == name) {
return num;
}
}
return Unknown;
}