Class Op_Infix

    • Field Detail

      • Display_ExtFn_Text

        private static final short @NotNull [] Display_ExtFn_Text
        Text to Display on Program, Print and Debug when ExtFf is active.
      • Logger

        private static final Logger Logger

        class logger instance

      • TAG

        private static final String TAG

        class logger tag.

      • Constant_Supported

        private final boolean Constant_Supported
        Constant operations.
      • Display_Text

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

        @NotNull
        private final @NotNull String Text
        Text to be displayed in Debugger.
    • Constructor Detail

      • Op_Infix

        Op_Infix​(Calculator Owner,
                 @NotNull
                 L_Register.Operation_Type Operation,
                 short @NotNull [] Display_Text,
                 @NotNull
                 @NotNull String Text,
                 boolean Constant_Supported)
        Create operation and attach to owning calculator.
        Parameters:
        Owner - Calculator which will call this Opcode.
        Operation - Infix operation to be executed.
        Display_Text - Test to be displayed in Prg mode.
        Text - Text to be displayed inside the desktop debugger
        Constant_Supported - Constant operation
    • Method Detail

      • Execute_Infix

        static void Execute_Infix​(@NotNull
                                  @NotNull Calculator Owner,
                                  @NotNull
                                  L_Register.Operation_Type Operation,
                                  boolean Constant_Supported)
                           throws Error

        Executes an infix operation

        Parameters:
        Owner - calculator
        Operation - operation
        Constant_Supported - operation supports constant operations
        Throws:
        Error - something went wrong
      • Clear

        public void Clear​(boolean AC)
        Reset state - for state full operations.
        Parameters:
        AC - All Clear reset
        See Also:
        IClear.Clear(boolean)
      • Display

        public final short @NotNull [] Display​(short Opcode)
        Display operation in Prg. mode.
        Parameters:
        Opcode - current operation
        Returns:
        String to be displayed
        See Also:
        IProgrammable_Operation.Display(short)