public static <T> Map<String, T> wrapLinkedHashMap(final String key, final T source) {
        val list = new LinkedHashMap<String, T>();
        list.put(key, source);
        return list;
    }
Wrap linked hash map.

@param <T>    the type parameter
@param key    the key
@param source the source
@return the array list
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/CollectionUtils.java