valueFromName static method

BinPaper_TD2125N valueFromName(
  1. String name
)

Implementation

static BinPaper_TD2125N valueFromName(String name) {
  for (int i = 0; i < _values.length; i++) {
    if (_values[i].getName() == name) {
      return _values[i];
    }
  }
  return UNSUPPORTED;
}