Gets value from map.
@param map map to get value from.
@param name name of (possibly nested) property to get value from.
@return value found, if it could be found, null otherwise.
424478
public Object getValue(Map<String, Object> map, String name) {
        String cleanName = htmlCleaner.cleanupValue(name);
        return getValueImpl(map, cleanName, true);
    }
78989
public String get(String name) {
    List<String> valuesList = values(name);
    String value = null;
    if (valuesList != null && valuesList.size() > 0) {
      value = valuesList.get(0);
    }
    return value;
  }
1282054
public MessageArg get(String name) {
    return map == null ? null : map.get(name);
  }
493717
public static void print(String name, Map<?, ?> map) {
		JK.line();
		print(String.format("Map (%s): ", name));
		Set<?> keySet = map.keySet();
		int index = 1;
		for (Object key : keySet) {
			JK.print(String.format("\t%d) Key(%s): Value (%s)", index++, key, map.get(key)));
		}
		JK.line();
	}
438118
protected String getAndRemoveValue(Map<String, String> map, String key) {

        String value = map.get(key);
        if (value != null) {
            map.remove(key);
        }
        return value;
    }
348653
public String getProperty(String name) {
      Object oval = props.get(name);
      String sval = (oval instanceof String) ? (String) oval : null;
      return sval;
    }
1099060
private K getKey(String name) {
        if (null != this.keys) {
            // we have locally stored values
            final K[] temp = this.keys;
            K key;
            for (int i = 0; i < temp.length; i++) {
                key = temp[i];
                if (null != key && name.equals(key.toString())) {
                    return key;
                }
            }
        }
        // if nothing found locally and we have a parent, check that
        if (null != this.parentMap) {
            return this.parentMap.getKey(name);
        }
        return null;
    }
227428
public String getFieldValue(String name) {
        String field = (String)fields.get(name);
        if (field == null) {
            return null;
        }
        else {
        	return field;
        }
    }
1003823
public AnyValueMap getAsNullableMap(String key) {
		Object value = getAsObject(key);
		return value != null ? AnyValueMap.fromValue(value) : null;
	}
592459
protected Property getProperty(String name) {
    if (!properties.containsKey(name)) {
      properties.put(name, new Property(name));
    }
    return properties.get(name);
  }
1266754
public V get(Map<?, V> map){
		for (Object k : keys){
			V v = map.get(k);
			if (v != null){
				return v;
			}
		}
		return null;
	}
119639
private final Object getObject(String name)
   {
      Object result = m_map.get(name);
      return (result);
   }
133505
public List<V> getValues(String name) {
        List<V> vals = super.get(name);
        if ((vals == null) || vals.isEmpty()) {
            return null;
        }
        return vals;
    }
394293
public function getValue($name)
    {
        if (isset($this->map[$name])) {
            return $this->map[$name]->getValue();
        }

        return null;
    }
226716
public String getByName(final String name) {
		if (headerMap == null) {
			throw new IllegalStateException("No header available");
		}

		final Integer col = headerMap.get(name);
		if (col != null) {
			return get(col);
		}
		return null;
	}
272973
public static String getValue(Map<String,String> map, String key, String defaultValue) {
		return map.containsKey( key ) ? map.get( key ) : defaultValue;
	}
986561
public IVarDef getMember( String name)
    {
    int i = findMember( name);
    return i >= 0? members_.get(i) : null;
    }