public String value() {
        if (hasValue()) {
            return values[0];
        } else {
            return null;
        }
    }
Returns the value for this key. <br>
If this key has nested elements and does not have a value returns null.

@return the value
src/main/java/spark/QueryParamsMap.java