com.sanpudo.formula
クラス Constant

java.lang.Object
  上位を拡張 Value
      上位を拡張 com.sanpudo.formula.Constant

public class Constant
extends Value

定数。


メソッドの概要
static void defineUserConstant(String name, String value)
          ユーザ定義定数を登録する。
static void defineUserConstant(String name, String value, boolean override)
          ユーザ定義定数を登録する。
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

defineUserConstant

public static void defineUserConstant(String name,
                                      String value,
                                      boolean override)
                               throws FormulaEvaluatorException
ユーザ定義定数を登録する。overrideがfalseの場合はシステム定義済み定数と同名の定数を登録しようとすると 例外をスローする。

例外:
FormulaEvaluatorException

defineUserConstant

public static void defineUserConstant(String name,
                                      String value)
                               throws FormulaEvaluatorException
ユーザ定義定数を登録する。システム定義済み定数と同名の定数を登録しようとすると 例外をスローする。

例外:
FormulaEvaluatorException