Package net.sourceforge.uiq3.fx602p
Class Op_Equal
- java.lang.Object
-
- net.sourceforge.uiq3.fx602p.Owned_Operation
-
- net.sourceforge.uiq3.fx602p.Op_Equal
-
- All Implemented Interfaces:
IClear
,IOperation
,IOwned_Operation
,IProgrammable_Operation
final class Op_Equal extends Owned_Operation implements IProgrammable_Operation
Equal or C hex number- Author:
- "Martin Krischik" «krischik@users.sourceforge.net»
-
-
Field Summary
Fields Modifier and Type Field Description private short @NotNull []
Alpha
Text to be displayed in Prg mode.private static Logger
Logger
Class logger instance.private int
Operation
Equal operation to be executedprivate static String
TAG
Class logger tag.-
Fields inherited from class net.sourceforge.uiq3.fx602p.Owned_Operation
Owner
-
-
Constructor Summary
Constructors Constructor Description Op_Equal(@NotNull Calculator Owner, int Operation, short @NotNull [] Alpha)
Create operation and attach to owning calculator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
Clear(boolean AC)
Reset state - for state full operations.short @NotNull []
Display(short Opcode)
Display Operatin in Prog mode.void
Execute(short Opcode)
Execute Token for Kex Equal.-
Methods inherited from class net.sourceforge.uiq3.fx602p.Owned_Operation
µReset, toString
-
-
-
-
Constructor Detail
-
Op_Equal
Op_Equal(@NotNull @NotNull Calculator Owner, int Operation, short @NotNull [] Alpha)
Create operation and attach to owning calculator.- Parameters:
Owner
- Calculator which will call this OpcodeOperation
- Infix operation to be executed.Alpha
- Test to be displayed in Prg mode.
-
-
Method Detail
-
Clear
public void Clear(boolean AC)
Reset state - for state full operations.- Specified by:
Clear
in interfaceIClear
- Parameters:
AC
- All Clear reset- See Also:
IClear.Clear(boolean)
-
Display
public short @NotNull [] Display(short Opcode)
Display Operatin in Prog mode.- Specified by:
Display
in interfaceIProgrammable_Operation
- Parameters:
Opcode
- Virtual CPU Operation to be executed- Returns:
- String to be displayed
- See Also:
IProgrammable_Operation.Display(short)
-
Execute
public void Execute(short Opcode) throws Error
Execute Token for Kex Equal.- Specified by:
Execute
in interfaceIOperation
- Parameters:
Opcode
- Virtual CPU Operation to be executed- Throws:
Error
- "Error" is an abstract exception class representing all possible errors the calculator can produce.Error
- See Also:
IOperation.Execute(short)
-
-