code: public short getOrElse(String key, short defaultValue) {
          int hash = d_keys.number(key);
          if (hash == -1)
              return defaultValue;
  
          return d_values[hash - 1];
      }
docs: Get the value associated with a key, returning a default value is it
  is not in the mapping.