org.tm4j.topicmap.utils.ScopeUtils .areEquivalent(java.util.Set scope1,java.util.Set scope2)
Description
Tests whether two Scope objects represent equivalent scopes according to the "Scope equality principle" of XTM 1.0 section F.2.3. This section states that: "In a consistent topic map a conformant XTM processor must consider two scopes equal if they contain the same set of topics."
Parameters | ||
---|---|---|
java.util.Set | scope1 | a scope to be compared |
java.util.Set | scope2 | a scope to be compared |
Returns
True if the scopes are equivalent, false otherwise
Meta Data (1)