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
SemanticDistanceModel.BoundedPrioQueue.TupleComparator
public SemanticDistanceModel.BoundedPrioQueue.TupleComparator()
SemanticDistanceModel.BoundedPrioQueue.TupleComparator
public SemanticDistanceModel.BoundedPrioQueue.TupleComparator(InputBuffer buffer)
throws QSException
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