Class ValueComparator
- java.lang.Object
-
- org.eclipse.rdf4j.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
Constructors Constructor Description ValueComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Value o1, Value o2)
boolean
isStrict()
void
setStrict(boolean flag)
-
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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
public int compare(Value o1, Value o2)
- Specified by:
compare
in interfaceComparator<Value>
-
setStrict
public void setStrict(boolean flag)
-
isStrict
public boolean isStrict()
-
-