org.jrdf.graph.mem
Class NodeComparatorImpl
java.lang.Object
org.jrdf.graph.mem.NodeComparatorImpl
- All Implemented Interfaces:
- Serializable, Comparator<Node>, NodeComparator
public final class NodeComparatorImpl
- extends Object
- implements NodeComparator
Currently only support simple comparison - either by node id for blank nodes or string comparisons for URIs and
Literals.
- Version:
- $Id: NodeComparatorImpl.java 1077 2007-01-26 19:51: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 |
NodeComparatorImpl
public NodeComparatorImpl(NodeTypeComparator nodeTypeComparator)
compare
public int compare(Node o1,
Node o2)
- Specified by:
compare
in interface Comparator<Node>