public interface SchemaComparable extends java.lang.Comparable<SchemaComparable>
In the case of data types that are partially ordered, the returned Comparable extends the standard
semantics of the compareTo() method by returning the value SequenceTool.INDETERMINATE_ORDERING
when there
is no defined order relationship between two given values.
As well as implementing Comparable.compareTo(T)
, a SchemaComparable
must also provide compatible implementations of equals()
and hashCode()
,
to allow XSD uniqueness constraints to be implemented by maintaining a hash table of
SchemaComparable
objects
Copyright (c) 2004-2021 Saxonica Limited. All rights reserved.