de.topicmapslab.majortom.io
Class CXTMTopicMapWriter.AssociationComparator

java.lang.Object
  extended by de.topicmapslab.majortom.io.CXTMTopicMapWriter.AbstractComparator<org.tmapi.core.Association>
      extended by de.topicmapslab.majortom.io.CXTMTopicMapWriter.AssociationComparator
All Implemented Interfaces:
java.util.Comparator<org.tmapi.core.Association>
Enclosing class:
CXTMTopicMapWriter

private final class CXTMTopicMapWriter.AssociationComparator
extends CXTMTopicMapWriter.AbstractComparator<org.tmapi.core.Association>

Canonical sort order: 1. [type] 2. [roles] 3. [scope] 4. [parent]


Field Summary
private  java.util.Comparator<java.util.Set<org.tmapi.core.Role>> _roleSetComparator
           
 
Constructor Summary
CXTMTopicMapWriter.AssociationComparator()
           
 
Method Summary
 int compare(org.tmapi.core.Association o1, org.tmapi.core.Association o2)
           
 
Methods inherited from class de.topicmapslab.majortom.io.CXTMTopicMapWriter.AbstractComparator
compareScope, compareString, compareType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

_roleSetComparator

private java.util.Comparator<java.util.Set<org.tmapi.core.Role>> _roleSetComparator
Constructor Detail

CXTMTopicMapWriter.AssociationComparator

CXTMTopicMapWriter.AssociationComparator()
Method Detail

compare

public int compare(org.tmapi.core.Association o1,
                   org.tmapi.core.Association o2)