code: public Tag get(String key) {
      int idx = binarySearch(tagArray, key);
      if (idx < 0) {
        return null;
      } else {
        return tagArray[idx];
      }
    }
docs: Get the tag associated with a given key.