gov.nist.nlpir.irf.matcher
Class NullMatcherbp

java.lang.Object
  |
  +--gov.nist.nlpir.irf.matcher.Matcherbp
        |
        +--gov.nist.nlpir.irf.matcher.NullMatcherbp

public class NullMatcherbp
extends Matcherbp

This class provides a "null" version of features matching. As a result the methods may look a bit odd.

Version:
$Revision: 1.1 $
Author:
This software was produced by NIST, an agency of the U.S. government, and by statute is not subject to copyright in the United States. Recipients of this software assume all responsibilities associated with its operation, modification and maintenance.

Constructor Summary
NullMatcherbp()
           
 
Method Summary
 double match(DataElem de1, DataElem de2)
          Decides whether the string versions of two data elements are exact matches for eachother
 
Methods inherited from class gov.nist.nlpir.irf.matcher.Matcherbp
exactMatch, exactMatch, extendedExactMatch, match, sameAddress, sameAttributeName
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

NullMatcherbp

public NullMatcherbp()
Method Detail

match

public double match(DataElem de1,
                    DataElem de2)
Decides whether the string versions of two data elements are exact matches for eachother
Parameters:
de1 - First data element
de2 - Second data element
Returns:
1.0 if the two data elements match exactly; else 0.0
Overrides:
match in class Matcherbp