org.mklab.nfc.rpn
クラス ExpressionProcessor

java.lang.Object
  上位を拡張 org.mklab.nfc.rpn.AbstractProcessor
      上位を拡張 org.mklab.nfc.rpn.AbstractExpressionProcessor
          上位を拡張 org.mklab.nfc.rpn.ExpressionProcessor
すべての実装されたインタフェース:
ReversePolishNotationExpressionProcessor, ReversePolishNotationProcessor
直系の既知のサブクラス:
WithoutCancellationExpressionProcessor

public class ExpressionProcessor
extends AbstractExpressionProcessor

逆ポーランド記法を数式に関して評価するクラスです。

バージョン:
$Revision: 1.16 $, 2007/08/31
作成者:
Anan

コンストラクタの概要
ExpressionProcessor()
           
 
メソッドの概要
 String getInverseString()
          逆数(逆行列)を表す文字列を返します。
 String getLeftParentheses()
          左括弧を返します。
 String getMultiplicationString()
          乗算を表す文字列を返します。
 String getRightParentheses()
          右括弧を返します。
 
クラス org.mklab.nfc.rpn.AbstractExpressionProcessor から継承されたメソッド
addOperation, getResult, getSignedExpression, hasCancellation, inverseOperation, multiplyOperation, setCancellation
 
クラス org.mklab.nfc.rpn.AbstractProcessor から継承されたメソッド
evaluate, getFormat, setFormat
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ExpressionProcessor

public ExpressionProcessor()
メソッドの詳細

getLeftParentheses

public String getLeftParentheses()
インタフェース ReversePolishNotationExpressionProcessor の記述:
左括弧を返します。

戻り値:
String 左括弧
関連項目:
ReversePolishNotationExpressionProcessor.getLeftParentheses()

getRightParentheses

public String getRightParentheses()
インタフェース ReversePolishNotationExpressionProcessor の記述:
右括弧を返します。

戻り値:
String 右括弧
関連項目:
ReversePolishNotationExpressionProcessor.getRightParentheses()

getInverseString

public String getInverseString()
インタフェース ReversePolishNotationExpressionProcessor の記述:
逆数(逆行列)を表す文字列を返します。

戻り値:
逆数(逆行列)を表す文字列
関連項目:
ReversePolishNotationExpressionProcessor.getInverseString()

getMultiplicationString

public String getMultiplicationString()
インタフェース ReversePolishNotationExpressionProcessor の記述:
乗算を表す文字列を返します。

戻り値:
乗算を表す文字列
関連項目:
ReversePolishNotationExpressionProcessor.getMultiplicationString()