public class TripleOrdering extends Object implements Comparator<org.apache.jena.graph.Triple>
Constructor and Description |
---|
TripleOrdering(org.apache.jena.shared.PrefixMapping prefixMapping)
When sorting predicates, take into account the given PrefixMapping
|
Modifier and Type | Method and Description |
---|---|
int |
compare(org.apache.jena.graph.Triple left,
org.apache.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(org.apache.jena.shared.PrefixMapping prefixMapping)
prefixMapping
- the prefix mappingpublic int compare(org.apache.jena.graph.Triple left, org.apache.jena.graph.Triple right)
compare
in interface Comparator<org.apache.jena.graph.Triple>
Copyright © 2013–2018 DuraSpace, Inc.. All rights reserved.