net.sf.farrago.type.runtime
Class VarbinaryComparator

java.lang.Object
  extended by net.sf.farrago.type.runtime.VarbinaryComparator
All Implemented Interfaces:
Comparator

public class VarbinaryComparator
extends Object
implements Comparator

A comparator for two BytePointer objects interpreted as VARBINARY.

Version:
$Id: //open/dev/farrago/src/net/sf/farrago/type/runtime/VarbinaryComparator.java#11 $
Author:
John V. Sichi

Constructor Summary
VarbinaryComparator()
           
 
Method Summary
 int compare(Object o1, Object o2)
           
static int compareVarbinary(Object o1, Object o2)
           
 
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

VarbinaryComparator

public VarbinaryComparator()
Method Detail

compareVarbinary

public static final int compareVarbinary(Object o1,
                                         Object o2)

compare

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