|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.ontopia.topicmaps.cmdlineutils.statistics.TopicCounter
public class TopicCounter
Topic Map count methods
Constructor Summary | |
---|---|
TopicCounter(TopicMapIF topicmap)
|
Method Summary | |
---|---|
void |
count()
|
HashMap |
getAssocDetails()
|
TopicIF |
getAssocDetails(String key)
|
HashMap |
getAssociationTypes()
Returns a HashMap which contains the associationtype as the keyset and the number of times it occurs as the valueset. |
String |
getName(TopicIF topic)
|
int |
getNumberOfAssociations()
Returns the number of Associations in a topic map. |
int |
getNumberOfOccurrences()
Returns the number of Occurrences in a topic map. |
int |
getNumberOfTopics()
Returns the number of topics in a topic map. |
HashMap |
getOccurDetails()
|
TopicIF |
getOccurDetails(String key)
|
HashMap |
getOccurrenceTypes()
Returns a HashMap which contains the occurrencetype as the keyset and the number of times it occurs as the valueset. |
HashMap |
getTopicDetails()
|
TopicIF |
getTopicDetails(String key)
|
HashMap |
getTopicTypes()
Returns a HashMap which contains the topictype as the keyset and the number of times it occurs as the valueset. |
Collection |
makeStrings(Collection topics)
|
String[] |
sortAlpha(Collection collection)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TopicCounter(TopicMapIF topicmap)
Method Detail |
---|
public void count() throws NullPointerException
NullPointerException
public int getNumberOfTopics()
public int getNumberOfAssociations()
public int getNumberOfOccurrences()
public HashMap getTopicDetails()
public TopicIF getTopicDetails(String key)
public HashMap getAssocDetails()
public TopicIF getAssocDetails(String key)
public HashMap getOccurDetails()
public TopicIF getOccurDetails(String key)
public HashMap getTopicTypes()
public HashMap getAssociationTypes()
public HashMap getOccurrenceTypes()
public String getName(TopicIF topic)
public Collection makeStrings(Collection topics)
public String[] sortAlpha(Collection collection)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |