org.jrdf.graph.local
Class LocalizedBlankNodeComparatorImpl

java.lang.Object
  extended by org.jrdf.graph.local.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

Constructor Summary
LocalizedBlankNodeComparatorImpl(LocalizedNodeComparator localizedNodeComparator)
           
 
Method Summary
 int compare(BlankNode blankNode1, BlankNode blankNode2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

LocalizedBlankNodeComparatorImpl

public LocalizedBlankNodeComparatorImpl(LocalizedNodeComparator localizedNodeComparator)
Method Detail

compare

public int compare(BlankNode blankNode1,
                   BlankNode blankNode2)
Specified by:
compare in interface Comparator<BlankNode>