接口 Mergeable

    • 方法详细资料

      • isMergeEnabled

        boolean isMergeEnabled()
        Is merging enabled for this particular instance?
      • merge

        Object merge​(Object parent)
        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.

        参数:
        parent - the object to merge with
        返回:
        the result of the merge operation
        抛出:
        IllegalArgumentException - if the supplied parent is null
        IllegalStateException - if merging is not enabled for this instance (i.e. mergeEnabled equals false).