Package parser

Class LogOrAntiLogToAnyBase

    • Constructor Detail

      • LogOrAntiLogToAnyBase

        public LogOrAntiLogToAnyBase​(java.lang.String name,
                                     int index,
                                     java.util.ArrayList<java.lang.String> scan)
        Parameters:
        name - The name of this Operator with which it is represented in a math function.
        index - the location of this Operator object in its parent Function object's scanned ArrayList object.
        scan - The scanned output
    • Method Detail

      • setIndex

        public void setIndex​(int index)
        Parameters:
        index - sets the index
      • getIndex

        public int getIndex()
      • validate

        public boolean validate​(java.util.ArrayList<java.lang.String> scan)
        Specified by:
        validate in interface Validatable
        Parameters:
        scan - The scanner output
        Returns:
        true if valid