org.tm4j.topicmap.Topic .getOccurrences(boolean includeMergedTopics)

Description

Returns the occurrences for this topic and, if so specified, of any merged topics.

Parameters
boolean includeMergedTopics if true, then the occurrences of all merged topics are included in the returned collection. Otherwise, the collection contains only the occurrences defined specifically for this topic.

Returns

A collection of the {@link Occurrence}s for this topic and for any merged topics. The returned collection is a copy of the internal set of occurrences of the topic — modifying the collection has no effect on the occurrence set of the Topic. If no occurrences are currently defined on this topic (or merged topics), the returned collection is empty; it is never null.

Other Resources

Related Topics