Class Op_ABC

  • All Implemented Interfaces:
    net.sourceforge.uiq3.calculator.IClear, net.sourceforge.uiq3.calculator.IOperation, net.sourceforge.uiq3.calculator.IOwned_Operation, net.sourceforge.uiq3.calculator.IProgrammable_Operation, IProgrammable_Operation

    final class Op_ABC
    extends Op_M
    Halt Calculator
    Author:
    "Martin Krischik" «krischik@users.sourceforge.net»
    • Field Detail

      • Logger

        private static final Logger Logger

        class logger instance

      • TAG

        private static final String TAG

        class logger tag.

      • Display_Text

        public static final short[] Display_Text
    • Constructor Detail

      • Op_ABC

        Op_ABC​(Calculator Owner)
        Create operation and attach to owning calculator.
        Parameters:
        Owner - Calculator which will call this Opcode
    • Method Detail

      • Display

        public short @NotNull [] Display​(short Opcode)
                                  throws Op_Error

        Dipslay the ExFn function mapped to this Opcode.

        Throws:
        Op_Error - Illegal operation
        See Also:
        IOperation.Execute(short)
      • Execute

        public void Execute​(short Opcode)
                     throws Error

        Execute the ExFn function mapped to this Opcode.

        Specified by:
        Execute in interface net.sourceforge.uiq3.calculator.IOperation
        Overrides:
        Execute in class Op_M
        Throws:
        Op_Error - Illegal operation
        Error - something went wrong
        M_Error - Memory accessed does not exist
        See Also:
        IOperation.Execute(short)