org.tm4j.topicmap.utils.extractors.AssociatedTopicsExtractor .fn(java.lang.Object o)

Description

Function implementation. This function returns a list of all the topics associated with the Topic passed in as the argument o. If the associationTester, thisRoleTester or otherRoleTester properties are set, then they will be used to filter the returns to only those topics whose associations pass the associationTester where the role played by o passes the thisRoleTester and the role played by the returned Topics pass the otherRoleTester.

Parameters
java.lang.Object o the Topic to get all associated topics for.

Returns

a List of Topic instances. If o is not a Topic, the return value is an empty list.

Other Resources

Related Topics

Has Parameters