org.jrdf.graph.local.mem
Class TripleComparatorImpl
java.lang.Object
org.jrdf.graph.local.mem.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 1804 2008-01-04 05:42:41Z 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>