setDetail method

void setDetail(
  1. int major,
  2. int minor
)

Implementation

void setDetail(int major, int minor) {
  value = major << 4 + minor;
}