code: private static Map<String, Integer> createMap() {
      int length = STATIC_TABLE.size();
      HashMap<String, Integer> ret = new HashMap<String, Integer>(length);
      // Iterate through the static table in reverse order to
      // save the smallest index for a given name in the map.
      for (int index = length; index > 0; index--) {
        HeaderField entry = getEntry(index);
        String name = new String(entry.name, 0, entry.name.length, ISO_8859_1);
        ret.put(name, index);
      }
      return ret;
    }
docs: create a map of header name to index value to allow quick lookup