isql.help.scalar.numeric
Class ModScalar

java.lang.Object
  extended by isql.help.scalar.numeric.ModScalar
All Implemented Interfaces:
IBinaryScalar, IBinaryNumericScalar

public class ModScalar
extends java.lang.Object
implements IBinaryNumericScalar

predicate that operates the module (mod) between two numbers

Author:
SHZ Oct 7, 2006

Constructor Summary
ModScalar()
           
 
Method Summary
 double apply(double a, double b)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModScalar

public ModScalar()
Method Detail

apply

public double apply(double a,
                    double b)
Specified by:
apply in interface IBinaryNumericScalar

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object