public Parameters put(final String... keyValues) {
        if (keyValues.length % 2 == 1) {
            throw new InvalidParameterException("odd number of parameters");
        }
        for (int i = 0; i < keyValues.length; i += 2) {
            add(ImmutablePair.of(keyValues[i], keyValues[i + 1]));
        }
        return this;
    }
Add new key/value pairs to the current parameters.

@param keyValues list of key/value pairs
@return the object itself to facilitate chaining
@throws InvalidParameterException if the number of key/values is unbalanced
main/src/main/java/cgeo/geocaching/network/Parameters.java