|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.mklab.nfc.rpn.AbstractOperator
org.mklab.nfc.rpn.MultiplyOperator
public class MultiplyOperator
逆ポーランド記法の積(multiply)演算子を表すクラスです。
メソッドの概要 | |
---|---|
static MultiplyOperator |
getInstance()
積(multiply)演算子を返します。 |
String |
getStringOfSymbol()
シンボルの文字列を返します。 |
ReversePolishNotationOperand |
operate(ReversePolishNotationProcessor processor,
ReversePolishNotationOperand left,
ReversePolishNotationOperand right)
オペランドを評価した結果を返します。 |
クラス org.mklab.nfc.rpn.AbstractOperator から継承されたメソッド |
---|
getOperator, isReversePolishNotationOperator |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
メソッドの詳細 |
---|
public static MultiplyOperator getInstance()
public String getStringOfSymbol()
ReversePolishNotationSymbol
の記述:
ReversePolishNotationSymbol
内の getStringOfSymbol
ReversePolishNotationSymbol.getStringOfSymbol()
public ReversePolishNotationOperand operate(ReversePolishNotationProcessor processor, ReversePolishNotationOperand left, ReversePolishNotationOperand right)
DoubleOperandOperator
の記述:
DoubleOperandOperator
内の operate
processor
- プロセッサーleft
- 左オペランドright
- 右オペランド
DoubleOperandOperator.operate(org.mklab.nfc.rpn.ReversePolishNotationProcessor,
org.mklab.nfc.rpn.ReversePolishNotationOperand,
org.mklab.nfc.rpn.ReversePolishNotationOperand)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |