Gets the short value <code>key</code>.

@param key key to get value for
@throws java.lang.IllegalArgumentException if the key is not found
@return value
174873
public short getShort(String key) {
    if (containsKey(key)) {
      return Short.parseShort(get(key));
    } else {
      throw new IllegalArgumentException("Missing key " + key + ".");
    }
  }
906208
public String get(final String key) {
        return get(Keys.LANGUAGE, key, Locales.getLocale());
    }
1326042
public V get (K key)
    {
        V value = null;
        SoftReference<V> ref = _map.get(key);
        if (ref != null) {
            value = ref.get();
            if (value == null) {
                _map.remove(key);
            }
        }
        return value;
    }
510551
public String get(String key)
	{
		String ret = getValueFromOptions(key, StringOption.class);
		if (ret == null && options.containsKey(key))
			ret = options.get(key).toString();
		return ret;
	}
1363043
public long get(K key)
  {
    if (key == null)
      return _nullValue;

    int hash = key.hashCode() & _mask;

    while (true) {
      K mapKey = _keys[hash];

      if (mapKey == key)
        return _values[hash];
      else if (mapKey == null) {
        if ((_flags[hash] & DELETED) == 0)
          return NULL;
      }
      else if (mapKey.equals(key))
        return _values[hash];

      hash = (hash + 1) & _mask;
    }
  }
257212
@SuppressWarnings("unchecked")
    public <T> T get(String key) {
        return (T) argMap.get(key);
    }
1033216
public V get(final int key) {
		final int index = (key & 0x7FFFFFFF) % elementData.length;

		IntLinkedEntry<V> m = elementData[index];
		while (m != null) {
			if (key == m.key) {
				if (accessOrder) {
					// if (log.isDebugEnabled()) log.debug("reliking " + this.key);
					m.remove();
					m.addBefore(header);
				}
				return m.value;
			}
			m = m.nextInSlot;
		}
		return null;
	}
600132
public Short getAsShort(String key) {
        Object value = mValues.get(key);
        try {
            return value != null ? ((Number) value).shortValue() : null;
        } catch (ClassCastException e) {
            if (value instanceof CharSequence) {
                try {
                    return Short.valueOf(value.toString());
                } catch (NumberFormatException e2) {
                    logger.severe("Cannot parse Short value for " + value + " at key " + key);
                    return null;
                }
            } else {
                logger.log(Level.SEVERE,"Cannot cast value for " + key + " to a Short: " + value, e);
                return null;
            }
        }
    }
347497
public String getKeyValue(String key){
        String keyName = keysMap.get(key);
        if (keyName != null){
            return keyName;
        }
        return ""; //key wasn't defined in keys properties file
    }
185468
@Override
    public V get(Object key) {
        final int index = key == null ? indexOfNull() : indexOf(key, key.hashCode());
        return index >= 0 ? (V)mArray[(index<<1)+1] : null;
    }
811565
public V get(K key) throws E {
        // Quick check without locking.
        V value = mValues.get(key);
        if (value != null) {
            return value;
        }

        // Check again with key lock held.
        Lock lock = mLockPool.get(key);
        lock.lock();
        try {
            value = mValues.get(key);
            if (value == null) {
                try {
                    value = create(key);
                    mValues.put(key, value);
                } catch (Exception e) {
                    // Workaround compiler bug.
                    org.cojen.util.ThrowUnchecked.fire(e);
                }
            }
        } finally {
            lock.unlock();
        }

        return value;
    }
201288
public String getFirst(String key)
    {
        if(key == null)
            throw new IllegalArgumentException("Null keys not allowed.");

        List<String> vals = map.get(key);
        if(vals == null || vals.size() == 0)
            return null;

        return vals.get(0);
    }
739624
public Object put(String key, Short value) {
		if (value == null) {
			stateMap.put(key, Type.NULL);
		} else {
			stateMap.put(key, Type.LONG);
		}

		return super.put(key, value);
	}
452330
public T getValue(Object key) {
        Rsp<T> rsp=get(key);
        return rsp != null? rsp.getValue() : null;
    }
669055
@SuppressWarnings("unchecked")
    public <T> T getCustom(String key) {
        return (T) custom.get(key);
    }
54021
public String getRawPropertyValue(String key) {
    String value = super.getProperty(key);
    if (value != null) {
      return value;
    }
    for (Properties properties : defaults) {
      value = properties.getProperty(key);
      if (value != null) {
        return value;
      }
    }
    return null;
  }
486590
public short getShort( String key, short defaultValue )
        throws MissingResourceException
    {
        try
        {
            return getShort( key );
        }
        catch( MissingResourceException mre )
        {
            return defaultValue;
        }
    }