tracer.expression
Class twoArgFunction

java.lang.Object
  |
  +--tracer.expression.Function
        |
        +--tracer.expression.twoArgFunction
Direct Known Subclasses:
addFunc, divFunc, multFunc, powFunc, subFunc

public abstract class twoArgFunction
extends Function

Abstract class type for two-argument functions.


Fields inherited from class tracer.expression.Function
numArgs
 
Constructor Summary
twoArgFunction()
          Constructs a function with two arguements.
 
Method Summary
 double apply(double a)
           
 
Methods inherited from class tracer.expression.Function
apply, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

twoArgFunction

public twoArgFunction()
Constructs a function with two arguements.
Method Detail

apply

public double apply(double a)
Overrides:
apply in class Function