Documentation of 'org.matheclipse.core.eval.util.Options' Java class
Options
org.matheclipse.core.eval.util

Class Options



  • public class Options
    extends java.lang.Object
    Managing Options associated with a function symbol.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      IExpr getOption(java.lang.String optionString)
      Get the option from the internal option list.
      boolean isOption(java.lang.String optionString)
      Get the option from the internal option list and check if it's true or false.
      IAST replaceAll(IAST options) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Options

        public Options(ISymbol symbol,
                       IAST currentOptionsList,
                       int startIndex)
        Parameters:
        symbol - the options symbol for determining "default option values"
        currentOptionsList - the AST where the option could be defined starting at position startIndex
        startIndex - the index from which tolook for options defined in currentOptionsList
      • Options

        public Options(ISymbol symbol,
                       IExpr optionExpr)
    • Method Detail

      • isOption

        public boolean isOption(java.lang.String optionString)
        Get the option from the internal option list and check if it's true or false.
        Parameters:
        optionString - the option string
        Returns:
        true if the option is set to True or false otherwise.
      • getOption

        public IExpr getOption(java.lang.String optionString)
        Get the option from the internal option list.
        Parameters:
        optionString - the option string
        Returns:
        the found option value or null if the option is not available
      • replaceAll

        public IAST replaceAll(IAST options)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.