project35.mda.model
Class DoubleComparator

java.lang.Object
  extended by project35.mda.model.DoubleComparator
All Implemented Interfaces:
NumericComparator

public class DoubleComparator
extends java.lang.Object
implements NumericComparator

used to compare two values that are supplied as string. The operator is dependent on the operation specified by the FieldOperator


Copyright (c) 2008 Kevin Garwood for Project35. The original code was developed by Kevin Garwood for the University of Manchester. Revisions have been made for Project35, a project that is independent of that institution. This code is licensed under the Academic Free License version 3.0. The code attribution for the original code is included here:

Copyright (c) Kevin Garwood and University of Manchester 2007. All rights reserved. Licensed under the Academic Free License version 3.0. For more information on the terms and conditions, please see the file "LICENSE" that is included in this distribution.


Version:
1.0
Author:
Kevin Garwood (kgarwood@users.sourceforge.net)

Constructor Summary
DoubleComparator()
           
 
Method Summary
 boolean compare(java.lang.String firstOperand, FieldOperator operator, java.lang.String secondOperand)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleComparator

public DoubleComparator()
Method Detail

compare

public boolean compare(java.lang.String firstOperand,
                       FieldOperator operator,
                       java.lang.String secondOperand)
Specified by:
compare in interface NumericComparator