Class FieldComparator

java.lang.Object
com.caplin.motif.fx.trading.orders.FieldComparator

@Deprecated public class FieldComparator extends Object
Deprecated.
  • Constructor Details

    • FieldComparator

      public FieldComparator()
      Deprecated.
  • Method Details

    • compare

      public boolean compare(String lhs, String rhs)
      Deprecated.
      Given two values, returns true if they are equal. Given currency values, (eg x.yz) will compare numerically, therefore 1.0 and 1 are considered to be equal.
      Parameters:
      lhs - a String value
      rhs - a String value
      Returns:
      boolean true if the values are equal, or else false.