Class Op_Equal

    • Field Detail

      • Logger

        private static final Logger Logger

        Class logger instance.

      • TAG

        private static final String TAG

        Class logger tag.

      • Alpha

        private final short @NotNull [] Alpha
        Text to be displayed in Prg mode.
      • Operation

        private final int Operation
        Equal operation to be executed
    • 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 Opcode
        Operation - 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 interface IClear
        Parameters:
        AC - All Clear reset
        See Also:
        IClear.Clear(boolean)
      • Execute

        public void Execute​(short Opcode)
                     throws Error
        Execute Token for Kex Equal.
        Specified by:
        Execute in interface IOperation
        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)