org.basex.util.ft
Interface FTBitapSearch.TokenComparator

Enclosing class:
FTBitapSearch

public static interface FTBitapSearch.TokenComparator

Token comparator.

Author:
BaseX Team 2005-12, BSD License, Dimitar Popov

Method Summary
 boolean equal(byte[] t1, byte[] t2)
          Check if two tokens are equal.
 

Method Detail

equal

boolean equal(byte[] t1,
              byte[] t2)
              throws QueryException
Check if two tokens are equal.

Parameters:
t1 - first token
t2 - second token
Returns:
true if the two are equal
Throws:
QueryException - if an error occurs during comparison