org.jrdf.graph.mem
Class TripleComparatorImpl
java.lang.Object
org.jrdf.graph.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 1045 2007-01-05 04:56:09Z 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 nodeComparator)
compare
public int compare(Triple o1,
Triple o2)
- Specified by:
compare
in interface Comparator<Triple>