コード例 #1
0
 /**
  * Returns the long value associated with the specified key.
  *
  * @param key The key to look up.
  * @param defaultValue The default value.
  * @return The long value associated with the specified key.
  */
 long getLong(String key, int defaultValue) {
   if (toUpdate.containsKey(key)) return Value.toLong(toUpdate.get(key).toString());
   return getContent().getLong(key, defaultValue);
 }