Get a property by name
@param key the property name
161712
public boolean getBooleanProperty( String key , boolean defaultValue )
    {
        String value = SystemTools.replaceSystemProperties(settings.getProperty(key));
        if (value == null)
            return defaultValue;
        return Boolean.valueOf(value.trim()).booleanValue();
    }
78126
public static String getProperty(InputStream input, String key) {
		return getProperty(input, key, null);
	}
449480
public Object get(String propName) {
        if (propName.equals("key")) {
            return getKey();
        }
        if (propName.equals("value")) {
            return getValue();
        }
        return null;
    }
1214387
public Class<?> getClass(final String key) {
    try {
      if (containsKey(key)) {
        return Class.forName(get(key));
      } else {
        throw new UndefinedPropertyException("Missing required property '"
            + key + "'");
      }
    } catch (final ClassNotFoundException e) {
      throw new IllegalArgumentException(e);
    }
  }
1215308
public V get(final int key) {
		final int index = (key & 0x7FFFFFFF) % elementData.length;

		IntEntry<V> m = elementData[index];
		while (m != null) {
			if (key == m.key) {
				return m.value;
			}
			m = m.nextInSlot;
		}
		return null;
	}
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;
  }
1144877
@Override
	public String getProperty(String key) {
		for (PropertyLoader loader : loaders) {
			String value = loader.getProperty(key);
			if(value != null)
				return value;
		}
		return null;
	}
592250
@Override
	public Object get(final Object key) {
		final boolean useLocalPrefixes = !mixDefaultAndLocalPrefixes && hasLocalPrefixConfigurations();
		return get(key, useLocalPrefixes);
	}
1071822
public Set<String> getPropertyAsSet(String key) {
		Set<String> propertiesSet = new HashSet<>();
		StringTokenizer tk = new StringTokenizer(props.getProperty(prefix + key, ""), ",");
		while (tk.hasMoreTokens())
			propertiesSet.add(tk.nextToken().trim());
		return propertiesSet;
	}
1281208
@Override
    public Set<V> get(Object key)
    {
        Set<V> set = map.get(key);
        return set != null ? set : Collections.EMPTY_SET;
    }
876899
public Property getProperty(String key, int semantic, int index) {
        for (Property property : m_properties) {
            if (property.getKey().equals(key) && 
                    property.m_semantic == semantic && 
                    property.m_index == index) {
                
                return property;
            }
        }
        
        return null;
    }
221513
@SuppressWarnings("unchecked")
  public <T> T get(String key) {

    T value = (T) map.get(key);
    return value;
  }
466229
public Object get(String key) {

	Bindings nn = getBindings(ScriptContext.ENGINE_SCOPE);
	if (nn != null) {
	    return nn.get(key);
	}

	return null;
    }
1175753
@SuppressWarnings("WeakerAccess")
    public String getProperty(Enum<?> key, boolean lowerCase) {
        final String keyName;
        if (lowerCase) {
            keyName = key.name().toLowerCase(Locale.ENGLISH);
        } else {
            keyName = key.name();
        }
        return getProperty(keyName);
    }
1219775
public static synchronized String getProperty(String key, boolean required) {
		if (mProperties == null) {
			mProperties = initializeConfigurationProperties();
		}
		String value = mProperties.getProperty(key);
		if (value == null && required) {
			throw new RuntimeException("Property not found: " + key);
		}
		return value;
	}
634384
@Override
    public Value get(Object key) {
        if (key instanceof String) {
            String name = (String) key;
            return get(name);
        }
        return fields.get(key);
    }
926849
@Override
    public <T> T getProperty(Object key, Class<T> clazz) {
        return clazz.cast(getProperty(key));
    }