public static <K, V> Map<K, V> newHashMapOnNull(Map<K, V> map) {
        if (map == null) {
            map = new HashMap<K, V>();
        }
        return map;
    }
@author Robert HG (254963746@qq.com) on 6/23/14.
lts-core/src/main/java/com/github/ltsopensource/core/commons/utils/CollectionUtils.java