jp.sourceforge.expression_computer.command
クラス ArithmeticRightShiftCommand

java.lang.Object
  拡張jp.sourceforge.expression_computer.command.ArithmeticRightShiftCommand
すべての実装インタフェース:
Command

public final class ArithmeticRightShiftCommand
extends java.lang.Object
implements Command

スタックから2つの値をポップし、算術右シフトし、その結果をスタックにプッシュします。2つの値は、それぞれ整数値に変換されてから計算されます。

作成者:
uguu@users.sourceforge.jp

フィールドの概要
 
インタフェース jp.sourceforge.expression_computer.Command から継承したフィールド
FALSE, TRUE
 
コンストラクタの概要
ArithmeticRightShiftCommand()
           
 
メソッドの概要
 void execute(ComputeContext context)
          

実行する処理を実装してください。

 java.lang.String toString()
          
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

ArithmeticRightShiftCommand

public ArithmeticRightShiftCommand()
メソッドの詳細

execute

public void execute(ComputeContext context)

実行する処理を実装してください。

定義:
インタフェース Command 内の execute
パラメータ:
context - 計算コンテキスト。

toString

public java.lang.String toString()



Copyright © 2006 . All Rights Reserved.