|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.utils.DuplicateSuppressionUtils
public class DuplicateSuppressionUtils
PUBLIC: A helper class that can remove duplicate objects from a topic map.
Constructor Summary | |
---|---|
DuplicateSuppressionUtils()
|
Method Summary | |
---|---|
static void |
removeDuplicateAssociations(java.util.Collection assocs)
INTERNAL: do not call this method. |
static java.util.Map |
removeDuplicateAssociations(TopicIF topic)
PUBLIC: Removes all duplicate associations of this topic. |
static void |
removeDuplicateOccurrences(java.util.Collection occurs)
INTERNAL: do not call this method. |
static void |
removeDuplicates(AssociationIF assoc)
PUBLIC: Remove all duplicate association roles of the association. |
static void |
removeDuplicates(TopicIF topic)
PUBLIC: Remove all duplicated characteristics of the given topic, except for duplicate associations the topic may participate in. |
static void |
removeDuplicates(TopicMapIF topicmap)
PUBLIC: Remove all duplicates in the entire topic map. |
static void |
removeDuplicates(TopicNameIF basename)
PUBLIC: Remove all duplicate variant names of the given topic name. |
static void |
removeDuplicateTopicNames(java.util.Collection basenames)
INTERNAL: do not call this method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DuplicateSuppressionUtils()
Method Detail |
---|
public static void removeDuplicates(TopicMapIF topicmap)
public static void removeDuplicates(TopicIF topic)
public static void removeDuplicateTopicNames(java.util.Collection basenames)
public static void removeDuplicateOccurrences(java.util.Collection occurs)
public static void removeDuplicateAssociations(java.util.Collection assocs)
public static void removeDuplicates(TopicNameIF basename)
public static void removeDuplicates(AssociationIF assoc)
public static java.util.Map removeDuplicateAssociations(TopicIF topic)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |