code: public Class<?> getType(String key) {
          Object val = this.data.get(key);
          return val == null ? null : val.getClass();
      }
docs: Get the current attribute type.
  @param key the entry's key, not null
  @return the current attribute type, or null, if no such attribute exists.