org.mklab.nfc.rpn
クラス AbstractProcessor
java.lang.Object
org.mklab.nfc.rpn.AbstractProcessor
- すべての実装されたインタフェース:
- ReversePolishNotationProcessor
- 直系の既知のサブクラス:
- AbstractExpressionProcessor, ValueProcessor
public abstract class AbstractProcessor
- extends Object
- implements ReversePolishNotationProcessor
逆ポーランド記法を評価(処理)するプロセッサの抽象クラスです。
- バージョン:
- $Revision: 1.4 $, 2007/11/02
- 作成者:
- Anan
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractProcessor
public AbstractProcessor()
getFormat
public String getFormat()
- インタフェース
ReversePolishNotationProcessor
の記述:
- 数値の出力フォーマットを返します。
- 定義:
- インタフェース
ReversePolishNotationProcessor
内の getFormat
- 戻り値:
- 数値の出力フォーマット
- 関連項目:
ReversePolishNotationProcessor.getFormat()
setFormat
public void setFormat(String format)
- インタフェース
ReversePolishNotationProcessor
の記述:
- 数値の出力フォーマットを設定します。
- 定義:
- インタフェース
ReversePolishNotationProcessor
内の setFormat
- パラメータ:
format
- 数値の出力フォーマット- 関連項目:
ReversePolishNotationProcessor.setFormat(java.lang.String)
evaluate
public ReversePolishNotationOperand evaluate(ReversePolishNotationOperand operand)
- インタフェース
ReversePolishNotationProcessor
の記述:
- オペランドを逆ポーランド記法により評価した結果を返します。
- 定義:
- インタフェース
ReversePolishNotationProcessor
内の evaluate
- パラメータ:
operand
- 対象となるオペランド
- 戻り値:
- 評価した結果のオペランド
- 関連項目:
ReversePolishNotationProcessor.evaluate(org.mklab.nfc.rpn.ReversePolishNotationOperand)