edu.stanford.nlp.util
Class NullComparator
java.lang.Object
edu.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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullComparator
public NullComparator()
compare
public int compare(Object a,
Object b)
- Specified by:
compare
in interface Comparator
Stanford NLP Group