code: public void addMeasure(String key, int value) {
  
          Key k = Key.fromString(key);
  
          if (k != null) {
              measures.put(k, value);
          } else {
              // TODO for now, we just ignore the value
          }
      }
docs: Adds a measure. This is a convenient method for
  {@code addMeasure(k.toString(), i)}. If the key does not exist, for now
  it is simply ignored without any warning.
  
  @param key
  one of the available keys {@link Key} as string.
  @param value
  the value for the specified key