Class TopicCounter


  • public class TopicCounter
    extends Object
    Topic Map count methods
    • Constructor Detail

      • TopicCounter

        public TopicCounter​(TopicMapIF topicmap)
    • Method Detail

      • getNumberOfTopics

        public int getNumberOfTopics()
        Returns the number of topics in a topic map.
      • getNumberOfAssociations

        public int getNumberOfAssociations()
        Returns the number of Associations in a topic map.
      • getNumberOfOccurrences

        public int getNumberOfOccurrences()
        Returns the number of Occurrences in a topic map.
      • getTopicDetails

        public HashMap getTopicDetails()
      • getTopicDetails

        public TopicIF getTopicDetails​(String key)
      • getAssocDetails

        public HashMap getAssocDetails()
      • getAssocDetails

        public TopicIF getAssocDetails​(String key)
      • getOccurDetails

        public HashMap getOccurDetails()
      • getOccurDetails

        public TopicIF getOccurDetails​(String key)
      • getTopicTypes

        public HashMap getTopicTypes()
        Returns a HashMap which contains the topictype as the keyset and the number of times it occurs as the valueset.
      • getAssociationTypes

        public HashMap getAssociationTypes()
        Returns a HashMap which contains the associationtype as the keyset and the number of times it occurs as the valueset.
      • getOccurrenceTypes

        public HashMap getOccurrenceTypes()
        Returns a HashMap which contains the occurrencetype as the keyset and the number of times it occurs as the valueset.