org.jrdf.graph.local.mem
Class LocalizedBlankNodeComparatorImpl
java.lang.Object
org.jrdf.graph.local.mem.LocalizedBlankNodeComparatorImpl
- All Implemented Interfaces:
- Serializable, Comparator<BlankNode>, BlankNodeComparator
public class LocalizedBlankNodeComparatorImpl
- extends Object
- implements BlankNodeComparator, Serializable
A comparator for blank nodes - assumes that the nodes are from the same graph - i.e. if they have the same node id
they are the same.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalizedBlankNodeComparatorImpl
public LocalizedBlankNodeComparatorImpl(LocalizedNodeComparator localizedNodeComparator)
compare
public int compare(BlankNode blankNode1,
BlankNode blankNode2)
- Specified by:
compare
in interface Comparator<BlankNode>