ostore.introspect
Class SemanticDistanceModel.BoundedPrioQueue.TupleComparator

java.lang.Object
  |
  +--ostore.introspect.SemanticDistanceModel.BoundedPrioQueue.TupleComparator
All Implemented Interfaces:
Comparator, QSComparator, QuickSerializable
Enclosing class:
SemanticDistanceModel.BoundedPrioQueue

public static class SemanticDistanceModel.BoundedPrioQueue.TupleComparator
extends Object
implements QSComparator


Constructor Summary
SemanticDistanceModel.BoundedPrioQueue.TupleComparator()
           
SemanticDistanceModel.BoundedPrioQueue.TupleComparator(InputBuffer buffer)
           
 
Method Summary
 int compare(Object o1, Object o2)
           
 boolean equals(Object o)
           
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SemanticDistanceModel.BoundedPrioQueue.TupleComparator

public SemanticDistanceModel.BoundedPrioQueue.TupleComparator()

SemanticDistanceModel.BoundedPrioQueue.TupleComparator

public SemanticDistanceModel.BoundedPrioQueue.TupleComparator(InputBuffer buffer)
                                                       throws QSException
Method Detail

serialize

public void serialize(OutputBuffer buffer)
Description copied from interface: QuickSerializable
Add the object to the buffer.

Specified by:
serialize in interface QuickSerializable
Parameters:
buffer - the output buffer to add the object to

compare

public int compare(Object o1,
                   Object o2)
Specified by:
compare in interface Comparator

equals

public boolean equals(Object o)
Specified by:
equals in interface Comparator
Overrides:
equals in class Object