Gets a property with the given name.
351514
def property(name)
      raise ArgumentError, 'no properties defined on class' if properties.nil?
      props = properties.select { |i| i['name'] == name.to_s }
      raise ::ArgumentError, "unknown property, name=#{name}" if props.empty?
      raise ::ArgumentError, "too many properties found, name=#{name}" if props.size > 1 # just to be sure
      props[0]
    end
757600
@Nullable
  private String getProperty(final String name) {
    assert name != null;
    ensureConfigured();
    return evaluate(System.getProperty(name, props.getProperty(name)));
  }
732337
public String getProperty(String propName, String defaultValue) {
        return props.getProperty(propName, defaultValue);
    }
126928
public final <C extends Property> PropertyList<C> getProperties(final String name) {
        return getProperties().getProperties(name);
    }
594411
@SuppressWarnings({"unused", "WeakerAccess"})
    public Object getProperty(String name) {
        if (!this.config.isPersonalizationEnabled()) return null;
        return getLocalDataStore().getProfileProperty(name);
    }
476478
function getProperty(style, name)
{
    if(style[name] !== void 0)
    {
        return [name, style[name]];
    }
    if(name in propertyNames)
    {
        return [propertyNames[name], style[propertyNames[name]]];
    }
    name = name.substr(0, 1).toUpperCase() + name.substr(1);
    var prefixes = ['webkit', 'moz', 'ms', 'o'], fullName;
    for(var i = 0, end = prefixes.length; i < end; i++)
    {
        fullName = prefixes[i] + name;
        if(style[fullName] !== void 0)
        {
            propertyNames[name] = fullName;
            return [fullName, style[fullName]];
        }
    }
    return [name, void 0];        
}
1270822
@SuppressWarnings( "unchecked" )
    public <T> T get( final String propertyName )
    {
        return (T) m_properties.get( propertyName );
    }
1257673
public GrProperty getProperty(String propertyName) {
		for (GrProperty prop : getProperties()) {
			if (prop.getName().equals(propertyName))
				return prop;
		}
		return null;
	}
466389
@Override
  public Object getProperty(final String name) throws OptionsException {
    Object val = getOptProperty(name);

    if (val == null) {
      throw new OptionsException("Missing property " + name);
    }

    return val;
  }
838731
public Object getProperty(String name) {
		if (!StringUtils.isBlank(name)) {
			return getProperties().get(name);
		}
		return null;
	}
737787
public String getValue(String name, String dflt) {
        Property prop = getProperty(name);
        return prop == null ? dflt : prop.getValue();
    }
348653
public String getProperty(String name) {
      Object oval = props.get(name);
      String sval = (oval instanceof String) ? (String) oval : null;
      return sval;
    }
120139
@Override
    public Object get(String propName) {
        if (propName.equals("size")) {
            return getSize();
        }
        if (propName.equals("startIndex")) {
            return getStartIndex();
        }
        return super.get(propName);
    }
1292926
public Set<Property> getProperties(String name) {
        Set<Property> ret = new HashSet<Property>();
        for (Property property : this.properties) {
            if (property.getName().equals(name)) {
                ret.add(property);
            }
        }
        return ret;
    }
371513
public String getString(String propertyName) {
        Object obj = get(propertyName);
        return obj != null ? obj.toString() : null;
    }
383973
@Override
	public SQLProperty findPropertyByName(String name) {
		name = name.toLowerCase();
		for (SQLProperty item : properties) {
			if (item.getName().toLowerCase().equals(name)) {
				return item;
			}
		}

		return null;
	}
1242959
public static <T> T getValue( Object object, String name )
	{
		return propertyValues.getValue(object, name);
	}