cmu.tawc.data
Class Counter.CountVectorComparator

java.lang.Object
  extended by cmu.tawc.data.Counter.CountVectorComparator
All Implemented Interfaces:
java.util.Comparator<java.util.Vector<Counter.Count>>
Enclosing class:
Counter

public class Counter.CountVectorComparator
extends java.lang.Object
implements java.util.Comparator<java.util.Vector<Counter.Count>>


Constructor Summary
Counter.CountVectorComparator()
           
 
Method Summary
 int compare(java.util.Vector<Counter.Count> o1, java.util.Vector<Counter.Count> o2)
          They must both be the same size!
 
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

Counter.CountVectorComparator

public Counter.CountVectorComparator()
Method Detail

compare

public int compare(java.util.Vector<Counter.Count> o1,
                   java.util.Vector<Counter.Count> o2)
They must both be the same size!

Specified by:
compare in interface java.util.Comparator<java.util.Vector<Counter.Count>>
Parameters:
o1 -
o2 -
Returns: