From: Lars H. <he...@se...> - 2006-05-24 15:05:28
|
This msg does not appear in my mailbox. Sent yesterday. This is a forwarded message ===8<==============Original message text=============== Hi, >> If I want to know whether there exists any association between two topics, >> how can I write the code using TMAPI? > One possibility: [...] Notes: a) The code tests if both topics are role _players_ in the same association and does not take care about the role type. b) Using a java.util.List instead of a Set might be faster. The duplicates (if any, since that means a topic plays more than one role in the same association) are acceptable Best regards, Lars -- http://semagia.com http://topicgarden.com/mailinglist/ German Topic Maps mailinglist ===8<===========End of original message text=========== |