org.jrdf.graph.local
Class GlobalizedBlankNodeComparatorImpl

java.lang.Object
  extended by org.jrdf.graph.local.GlobalizedBlankNodeComparatorImpl
All Implemented Interfaces:
Serializable, Comparator<BlankNode>, BlankNodeComparator

public class GlobalizedBlankNodeComparatorImpl
extends Object
implements BlankNodeComparator, Serializable

Without any context or localization you can't tell the difference between blank nodes.

See Also:
Serialized Form

Constructor Summary
GlobalizedBlankNodeComparatorImpl()
           
 
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

GlobalizedBlankNodeComparatorImpl

public GlobalizedBlankNodeComparatorImpl()
Method Detail

compare

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