code: public synchronized V lookup(final String key) {
          if (tmap == null) {
              throw new IllegalStateException("not open");
          }
          return tmap.get(key);
      }
docs: Performs a lookup for the given {@code key}.
  
  @param key Key
  @return String; may be null for the given key