org.openrdf.query.algebra.evaluation.util
Class ValueComparator

java.lang.Object
  extended by org.openrdf.query.algebra.evaluation.util.ValueComparator
All Implemented Interfaces:
Comparator<Value>

public class ValueComparator
extends Object
implements Comparator<Value>

A comparator that compares values according the SPARQL value ordering as specified in SPARQL Query Language for RDF.

Author:
james, Arjohn Kampman

Constructor Summary
ValueComparator()
           
 
Method Summary
 int compare(Value o1, Value o2)
           
 
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
 

Constructor Detail

ValueComparator

public ValueComparator()
Method Detail

compare

public int compare(Value o1,
                   Value o2)
Specified by:
compare in interface Comparator<Value>


Copyright © 2001-2008 Aduna. All Rights Reserved.