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