Documentation of 'org.matheclipse.core.expression.MethodSymbol' Java class
MethodSymbol
org.matheclipse.core.expression

Class MethodSymbol

    • Constructor Detail

      • MethodSymbol

        public MethodSymbol(java.lang.String symbolName,
                            java.lang.String packagename,
                            java.lang.String classname,
                            java.lang.String methodname)
      • MethodSymbol

        public MethodSymbol(java.lang.String symbolName,
                            java.lang.String classname,
                            java.lang.String methodname)
    • Method Detail

      • invoke

        public IExpr invoke(IAST args)
        Invoke the static method represented by this object
        Parameters:
        args -
        Returns:
        Throws:
        java.lang.Exception
      • equals

        public boolean equals(java.lang.Object obj)
        Test if this is equal to b.
        Specified by:
        equals in interface Element<IExpr>
        Overrides:
        equals in class Symbol
        Returns:
        true if this is equal to b, else false.
      • hashCode

        public int hashCode()
        Hashcode of this Element.
        Specified by:
        hashCode in interface Element<IExpr>
        Overrides:
        hashCode in class Symbol
        Returns:
        the hashCode.
      • hierarchy

        public int hierarchy()
        A unique integer ID for the implementation of this expression
        Specified by:
        hierarchy in interface IExpr
        Overrides:
        hierarchy in class Symbol
        Returns:
        a unique integer id for the implementation of this expression
      • compareTo

        public int compareTo(IExpr obj)
        Compares this expression with the specified expression for order. Returns a negative integer, zero, or a positive integer as this expression is canonical less than, equal to, or greater than the specified expression.
        Specified by:
        compareTo in interface Element<IExpr>
        Specified by:
        compareTo in interface java.lang.Comparable<IExpr>
        Specified by:
        compareTo in interface IExpr
        Overrides:
        compareTo in class Symbol
        Returns:
        0 if this is equal to b, -1 if this is less then b, else +1.
      • isTrue

        public boolean isTrue()
        Test if this expression equals the symbol "True"
        Specified by:
        isTrue in interface IExpr
        Overrides:
        isTrue in class Symbol
      • isFalse

        public boolean isFalse()
        Test if this expression equals the symbol "False"
        Specified by:
        isFalse in interface IExpr
        Overrides:
        isFalse in class Symbol
      • head

        public ISymbol head()
        If this object is an instance of IAST get the first element (offset 0) of the IAST list (i.e. get(0) ).
        Specified by:
        head in interface IExpr
        Overrides:
        head in class Symbol
        Returns:
        the head of the expression, which must not be null.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Symbol

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.