public String get(String key) {
        int i = indexOfKey(key);
        return i == NotFound ? EmptyString : checkNotNull(vals[i]);
    }
public String get ( String key ) { int i = indexOfKey ( key ) ; return i == NotFound ? EmptyString : checkNotNull ( vals [ i ] ) ; }
Get an attribute value by key.
@param key the (case-sensitive) attribute key
@return the attribute value if set; or empty string if not set (or a boolean attribute).
@see #hasKey(String)