org.tm4j.topicmap.utils.TopicUtils .areEquivalent(org.tm4j.topicmap.Topic topic1,org.tm4j.topicmap.Topic topic2)

Description

Determines topic equivalency. Two topics are considered equal if one or more of the following conditions hold

  1. The topics are from the same parent topic map and have already been merged.
  2. The resourceLocator of the topics are equal
  3. The resourceLocator of one of the topics is equal to on of the subjectIndicators of the other topic.
  4. The subject of the topics are equal
  5. The topics have one or more subjectIndicators in common
  6. The topics have one or more base names with the same base name string in equivalent scopes.

Parameters
org.tm4j.topicmap.Topic topic1
org.tm4j.topicmap.Topic topic2

Other Resources

Related Topics