docs: public Byte getAsByte(String key) {
          Object value = mValues.get(key);
          try {
              return value != null ? ((Number) value).byteValue() : null;
          } catch (ClassCastException e) {
              if (value instanceof CharSequence) {
                  try {
                      return Byte.valueOf(value.toString());
                  } catch (NumberFormatException e2) {
                      logger.severe("Cannot parse Byte value for " + value + " at key " + key);
                      return null;
                  }
              } else {
                  logger.log(Level.SEVERE, "Cannot cast value for " + key + " to a Byte: " + value, e);
                  return null;
              }
          }
      }