edu.stanford.nlp.util
Class NullComparator

java.lang.Object
  extended byedu.stanford.nlp.util.NullComparator
All Implemented Interfaces:
Comparator

public class NullComparator
extends Object
implements Comparator

Comparator that says every pair of objects is tied.

Author:
Dan Klein (klein@cs.stanford.edu)

Constructor Summary
NullComparator()
           
 
Method Summary
 int compare(Object a, Object b)
           
 
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

NullComparator

public NullComparator()
Method Detail

compare

public int compare(Object a,
                   Object b)
Specified by:
compare in interface Comparator


Stanford NLP Group