|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.cmdlineutils.statistics.TopicCounter
public class TopicCounter
Topic Map count methods
Constructor Summary | |
---|---|
TopicCounter(TopicMapIF topicmap)
|
Method Summary | |
---|---|
void |
count()
|
java.util.HashMap |
getAssocDetails()
|
TopicIF |
getAssocDetails(java.lang.String key)
|
java.util.HashMap |
getAssociationTypes()
Returns a HashMap which contains the associationtype as the keyset and the number of times it occurs as the valueset. |
java.lang.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. |
java.util.HashMap |
getOccurDetails()
|
TopicIF |
getOccurDetails(java.lang.String key)
|
java.util.HashMap |
getOccurrenceTypes()
Returns a HashMap which contains the occurrencetype as the keyset and the number of times it occurs as the valueset. |
java.util.HashMap |
getTopicDetails()
|
TopicIF |
getTopicDetails(java.lang.String key)
|
java.util.HashMap |
getTopicTypes()
Returns a HashMap which contains the topictype as the keyset and the number of times it occurs as the valueset. |
java.util.Collection |
makeStrings(java.util.Collection topics)
|
java.lang.String[] |
sortAlpha(java.util.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 java.lang.NullPointerException
java.lang.NullPointerException
public int getNumberOfTopics()
public int getNumberOfAssociations()
public int getNumberOfOccurrences()
public java.util.HashMap getTopicDetails()
public TopicIF getTopicDetails(java.lang.String key)
public java.util.HashMap getAssocDetails()
public TopicIF getAssocDetails(java.lang.String key)
public java.util.HashMap getOccurDetails()
public TopicIF getOccurDetails(java.lang.String key)
public java.util.HashMap getTopicTypes()
public java.util.HashMap getAssociationTypes()
public java.util.HashMap getOccurrenceTypes()
public java.lang.String getName(TopicIF topic)
public java.util.Collection makeStrings(java.util.Collection topics)
public java.lang.String[] sortAlpha(java.util.Collection collection)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |