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
- The topics are from the same parent topic map and have already been merged.
- The resourceLocator of the topics are equal
- The resourceLocator of one of the topics is equal to on of the subjectIndicators of the other topic.
- The subject of the topics are equal
- The topics have one or more subjectIndicators in common
- 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 |
Meta Data (1)