Code example for ImmutableMap

Methods: containsKey

0
    public String getType() {
        return type;
    } 
 
    public boolean hasProperty(String name) {
        return properties.containsKey(name);
    } 
 
    public String getProperty(String name) {
        return properties.get(name);
    } 
 
    public Map<String, String> getProperties() {
        return properties;
    } 
 
    public String getProperty(String name, String defaultValue) {
        if (hasProperty(name)) {
            return properties.get(name);
        } else {