public class TripleOrdering extends Object implements Comparator<com.hp.hpl.jena.graph.Triple>
Constructor and Description |
---|
TripleOrdering(com.hp.hpl.jena.shared.PrefixMapping prefixMapping)
When sorting predicates, take into account the given PrefixMapping
|
Modifier and Type | Method and Description |
---|---|
int |
compare(com.hp.hpl.jena.graph.Triple left,
com.hp.hpl.jena.graph.Triple right) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public TripleOrdering(com.hp.hpl.jena.shared.PrefixMapping prefixMapping)
prefixMapping
- the prefix mappingpublic int compare(com.hp.hpl.jena.graph.Triple left, com.hp.hpl.jena.graph.Triple right)
compare
in interface Comparator<com.hp.hpl.jena.graph.Triple>
Copyright © 2013–2016 DuraSpace, Inc.. All rights reserved.