Class RealVariableTable

  • All Implemented Interfaces:
    JepComponent, java.io.Serializable

    public class RealVariableTable
    extends VariableTable
    A VariableTable which defines pi, e, true, false but not the complex number i.
    See Also:
    Serialized Form
    • Constructor Detail

      • RealVariableTable

        public RealVariableTable​(boolean hasBoolean)
        Constructor with delayed initialisation of constants. The constants will be added once the init method is called
        Parameters:
        hasBoolean - whether boolean variable true/false are added
        Since:
        Jep 3.5
      • RealVariableTable

        public RealVariableTable​(VariableFactory varFac)
        Constructor when the VariableFactory is known beforehand. Initialises the constants.
        Parameters:
        varFac -
    • Method Detail

      • init

        public void init​(Jep j)
        Will add constants if we now have a variable factory.
        Specified by:
        init in interface JepComponent
        Overrides:
        init in class VariableTable
        Parameters:
        j - the current Jep instance