project35.mda.model
Interface NumericComparator
- All Known Implementing Classes:
- DoubleComparator, FloatComparator, IntegerComparator
public interface NumericComparator
this is an interface that defines the behaviour of IntegerComparator,
FloatComparator, DoubleComparator. These classes are meant to take
two string values, convert them to a numeric type and compare them
given some 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)
Method Summary |
boolean |
compare(java.lang.String firstValue,
FieldOperator operator,
java.lang.String secondValue)
|
compare
boolean compare(java.lang.String firstValue,
FieldOperator operator,
java.lang.String secondValue)