net.fortytwo.sesametools
Class ContextInsensitiveStatementComparator
java.lang.Object
net.fortytwo.sesametools.ContextInsensitiveStatementComparator
- All Implemented Interfaces:
- Comparator<org.openrdf.model.Statement>
public class ContextInsensitiveStatementComparator
- extends Object
- implements Comparator<org.openrdf.model.Statement>
Implements a Comparator for OpenRDF Statements
using the order Subject->Predicate->Object
- Author:
- Peter Ansell p_ansell@yahoo.com
|
Method Summary |
int |
compare(org.openrdf.model.Statement first,
org.openrdf.model.Statement second)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BEFORE
public static final int BEFORE
- See Also:
- Constant Field Values
EQUALS
public static final int EQUALS
- See Also:
- Constant Field Values
AFTER
public static final int AFTER
- See Also:
- Constant Field Values
ContextInsensitiveStatementComparator
public ContextInsensitiveStatementComparator()
compare
public int compare(org.openrdf.model.Statement first,
org.openrdf.model.Statement second)
- Specified by:
compare in interface Comparator<org.openrdf.model.Statement>
Copyright © 2013. All Rights Reserved.