Class UnaryCP


  • public class UnaryCP
    extends Lop
    • Method Detail

      • toString

        public String toString()
        Description copied from class: Lop
        Method to have Lops print their state. This is for debugging purposes.
        Specified by:
        toString in class Lop
      • getInstructions

        public String getInstructions​(String input,
                                      String output)
        Description copied from class: Lop
        Method should be overridden if needed
        Overrides:
        getInstructions in class Lop
        Parameters:
        input - input 1
        output - output
        Returns:
        instructions as string