类 ManagedMap<K,​V>

    • 构造器详细资料

      • ManagedMap

        public ManagedMap​(int initialCapacity)
    • 方法详细资料

      • setSource

        public void setSource​(Object source)
        Set the configuration source Object for this metadata element.

        The exact type of the object will depend on the configuration mechanism used.

      • setKeyTypeName

        public void setKeyTypeName​(String keyTypeName)
        Set the default key type name (class name) to be used for this map.
      • getKeyTypeName

        public String getKeyTypeName()
        Return the default key type name (class name) to be used for this map.
      • setValueTypeName

        public void setValueTypeName​(String valueTypeName)
        Set the default value type name (class name) to be used for this map.
      • getValueTypeName

        public String getValueTypeName()
        Return the default value type name (class name) to be used for this map.
      • setMergeEnabled

        public void setMergeEnabled​(boolean mergeEnabled)
        Set whether merging should be enabled for this collection, in case of a 'parent' collection value being present.
      • merge

        public Object merge​(Object parent)
        从接口复制的说明: Mergeable
        Merge the current value set with that of the supplied object.

        The supplied object is considered the parent, and values in the callee's value set must override those of the supplied object.

        指定者:
        merge 在接口中 Mergeable
        参数:
        parent - the object to merge with
        返回:
        the result of the merge operation