Java Map Copy copyOptions(Map options)

Here you can find the source of copyOptions(Map options)

Description

copy Options

License

Apache License

Declaration

public static Map<String, Object> copyOptions(Map<String, Object> options) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.util.HashMap;

import java.util.Map;

public class Main {
    public static Map<String, Object> copyOptions(Map<String, Object> options) {
        return options != null ? new HashMap<String, Object>(options) : new HashMap<String, Object>();
    }/*w  ww .  ja  va2s. co  m*/
}

Related

  1. copyMapWithoutEmpties(Map original)
  2. copyOf( Map> map)
  3. copyOf(final Map map)
  4. copyOf(Map src)
  5. copyOnWritePut(K k, V v, Map source)
  6. copyParameters(Map parameters)
  7. copyPropertiesToMap(Properties source, Map target)
  8. copySafelyToObjectToObjectMap(java.util.Map map)
  9. copyStringMap(Map initParams)