org.datamixer.functions
Class LineStrategy

java.lang.Object
  extended byorg.datamixer.functions.FunctionStrategy
      extended byorg.datamixer.functions.LineStrategy

public class LineStrategy
extends FunctionStrategy


Field Summary
 
Fields inherited from class org.datamixer.functions.FunctionStrategy
functionIterator_, logger_, result_
 
Constructor Summary
LineStrategy()
           
 
Method Summary
 int findDataType(int type)
          Returns the datatype with maximum precision among iterators, multiplier, and intercept.
 Value getIntercept()
           
 Value getMultiplier()
           
 Value operator()
          Applies an operator to the children of a Function node.
 void setIntercept(Value value)
           
 void setMultiplier(Value value)
           
 
Methods inherited from class org.datamixer.functions.FunctionStrategy
doInitialize, getDataType, getFunctionIterator, handleArguments, initialize, initResult, operate, setDataType, setFunctionIterator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineStrategy

public LineStrategy()
Method Detail

findDataType

public int findDataType(int type)
                 throws DatamixerException
Returns the datatype with maximum precision among iterators, multiplier, and intercept.

Overrides:
findDataType in class FunctionStrategy
Throws:
DatamixerException

operator

public Value operator()
               throws DatamixerException
Description copied from class: FunctionStrategy
Applies an operator to the children of a Function node.

Overrides:
operator in class FunctionStrategy
Throws:
DatamixerException

getMultiplier

public Value getMultiplier()

setMultiplier

public void setMultiplier(Value value)

getIntercept

public Value getIntercept()

setIntercept

public void setIntercept(Value value)


Copyright © 2004-2006 datamixer.org. All Rights Reserved.