类 MapUtils

java.lang.Object
com.sh.common.exec.util.MapUtils

public class MapUtils extends Object
Description: Title:首亨软件 - CRM、TSS、ERP等信息化管理软件
  • 构造器详细资料

    • MapUtils

      public MapUtils()
  • 方法详细资料

    • copy

      public static Map copy(Map source)
      Clones a map.
      参数:
      source - the source map
      返回:
      the clone of the source map
    • prefix

      public static Map prefix(Map source, String prefix)
      Clones a map and prefixes the keys in the clone, e.g. for mapping "JAVA_HOME" to "env.JAVA_HOME" to simulate the behaviour of ANT.
      参数:
      source - the source map
      prefix - the prefix used for all names
      返回:
      the clone of the source map
    • merge

      public static Map merge(Map lhs, Map rhs)
      Clones the lhs map and add all things from the rhs map.
      参数:
      lhs - the first map
      rhs - the second map
      返回:
      the merged map