org.tm4j.topicmap.utils.XTMUtils .staticMerge(org.tm4j.topicmap.Topic t,boolean swapTopics)

Description

Internal implementation of the static merge algorithm.

Parameters
boolean swapTopics
org.tm4j.topicmap.Topic t If this parameter is set to true then all refernecs to the merged topics will be replaced with a reference to the base topic. The topic to be merged. This object may or may not survive the processing of this method. Callers should always use the returned Topic object in preference to the one passed in.

Throws

Returns

The statically merged topic. The returned Topic object may not be the same as the Topic passed into this method.

Other Resources

Related Topics