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