org.shiftone.bigcalc
Interface Context
- All Known Implementing Classes:
- StdContext
- public interface Context
Represents the execution envionment of a functor.
Provides functors with the desired scale to use for calculations,
as well as memory for "variables" and avalible functions.
- Version:
- $Revision: 1.12 $
- Author:
- $Author: jeffdrost $
getValue
public java.lang.Object getValue(java.lang.String name)
setValue
public void setValue(java.lang.String name,
java.lang.Object value)
createScope
public Context createScope()
getFunction
public Function getFunction(java.lang.String name)
getScale
public int getScale()
getRoundingMode
public int getRoundingMode()