Class CXTMTopicMapWriter.AbstractDatatypeAwareComparator<T>

  extended by<T>
      extended by<T>
All Implemented Interfaces:
Direct Known Subclasses:
CXTMTopicMapWriter.OccurrenceComparator, CXTMTopicMapWriter.VariantComparator
Enclosing class:

private abstract class CXTMTopicMapWriter.AbstractDatatypeAwareComparator<T>
extends CXTMTopicMapWriter.AbstractComparator<T>

Enhances the CXTMTopicMapWriter.AbstractComparator with a method to compare the value and datatype of an occurrence or variant.

Constructor Summary
private CXTMTopicMapWriter.AbstractDatatypeAwareComparator()
Method Summary
(package private)  int _compareValueDatatype(org.tmapi.core.DatatypeAware o1, org.tmapi.core.DatatypeAware o2)
          Compares the value and datatype of the occurrences / variants.
Methods inherited from class
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
compare, equals

Constructor Detail


private CXTMTopicMapWriter.AbstractDatatypeAwareComparator()
Method Detail


int _compareValueDatatype(org.tmapi.core.DatatypeAware o1,
                          org.tmapi.core.DatatypeAware o2)
Compares the value and datatype of the occurrences / variants.

o1 - The first occurrence / variant.
o2 - The second occurrence / variant.
A negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.