valueFromID static method
Implementation
static HealthStatus valueFromID(int id) {
for (int i = 0; i < _values.length; ++i) {
HealthStatus num = _values[i];
if (num.getId() == id) {
return num;
}
}
return NotInstalled;
}
static HealthStatus valueFromID(int id) {
for (int i = 0; i < _values.length; ++i) {
HealthStatus num = _values[i];
if (num.getId() == id) {
return num;
}
}
return NotInstalled;
}