org.jrdf.graph.datatype
Interface SemanticComparator

All Superinterfaces:
Comparator<Literal>, Serializable
All Known Implementing Classes:
SemanticComparatorImpl

public interface SemanticComparator
extends Comparator<Literal>, Serializable

Sorts by the URI of the literal and then value. Will return 0 if the data type URIs are different but are comparable types (such as decimal and integer) and the values are the same.


Method Summary
 
Methods inherited from interface java.util.Comparator
compare, equals