public static <K extends String, V> Map<K, V> wrap(final String key, final Object value,
                                                       final String key2, final Object value2) {
        val m = wrap(key, value);
        if (value2 != null && StringUtils.isNotBlank(key2)) {
            m.put(key2, value2);
        }
        return (Map) m;
    }
Wrap map.

@param <K>    the type parameter
@param <V>    the type parameter
@param key    the key
@param value  the value
@param key2   the key 2
@param value2 the value 2
@return the map
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/CollectionUtils.java