org.jrdf.graph.local
Class TripleComparatorImpl
java.lang.Object
org.jrdf.graph.local.TripleComparatorImpl
- All Implemented Interfaces:
- Serializable, Comparator<Triple>, TripleComparator
public final class TripleComparatorImpl
- extends Object
- implements TripleComparator
Provides a comparison between triples using a NodeComparator and the order of the nodes Subject, Predicate and
Object.
- Version:
- $Id: TripleComparatorImpl.java 1871 2008-01-31 05:21:12Z newmana $
- Author:
- Andrew Newman
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TripleComparatorImpl
public TripleComparatorImpl(NodeComparator newNodeComparator)
compare
public int compare(Triple o1,
Triple o2)
- Specified by:
compare
in interface Comparator<Triple>