示例#1
0
 /**
  * Get value for a key.
  *
  * @param key Key.
  * @return Value associated with key.
  */
 public V get(final K key) {
   KEY_REPORTER.reportUsedKey(name, key.toString());
   return map.get(key);
 }
示例#2
0
 /**
  * Put key value pair.
  *
  * @param key Key.
  * @param value Value.
  */
 public void put(final K key, final V value) {
   KEY_REPORTER.reportDefinedKey(name, key.toString());
   map.put(key, value);
 }