|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.util.formulae.MathValue
The class MathValue forms the root for all derived constant-based result/data classes.
Field Summary | |
NumberFormat |
dataFormat
The format used to output values stored in results |
Constructor Summary | |
MathValue()
|
Method Summary | |
Object |
clone()
Return an Expression which is a copy of this MathValue |
com.klg.jclass.util.formulae.Result |
evaluate()
Satisfy the Expression interface by returning the stored value (no evaluation is required). |
NumberFormat |
getDataFormat()
Retrieve the NumberFormat associated with this data |
abstract Number[][] |
matrixValue()
Get the contents of this MathValue as a matrix of Numbers |
abstract Number |
numberValue()
Get the contents of this MathValue as a Number |
void |
setDataFormat(NumberFormat format)
Set a NumberFormat to use on the contents of this MathValue |
abstract Number[] |
vectorValue()
Get the contents of this MathValue as a vector of Numbers |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public NumberFormat dataFormat
Constructor Detail |
public MathValue()
Method Detail |
public com.klg.jclass.util.formulae.Result evaluate()
evaluate
in interface Expression
public NumberFormat getDataFormat()
public void setDataFormat(NumberFormat format)
format
- The NumberFormat to be used to format this as a Stringpublic abstract Number numberValue()
public abstract Number[] vectorValue()
public abstract Number[][] matrixValue()
public Object clone()
clone
in interface Expression
clone
in class Object
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |