code: @Override
    public ApiType getByKey(String key) {
      lock.lock();
      try {
        return this.items.get(key);
      } finally {
        lock.unlock();
      }
    }
docs: Gets get by key.
  
  @param key the key
  @return the get by key