Package com.singularsys.jep
The main package containing the Jep class as well as other core classes.
-
Interface Summary Interface Description EmptyOperatorTable.OperatorKey All operators enums must implement this interface.Evaluator Defines a method which can be used to evaluate a part of a node-tree.JepComponent Base interface for all Jep components (parsers, evaluators etc).NumberFactory This interface can be implemented to create numbers of any object type.OperatorTableI Parser Defines the methods a parser must implement.ParserVisitor Classes which wish to use the visitor pattern should use this interface.PostfixMathCommandI All function classes must implement this interface to ensure that the run() method is implemented.PrintVisitor.PrintRulesI This interface specifies the method needed to implement a special print rule. -
Class Summary Class Description ComponentSet Collects all the components which make up the Jep system.ComponentSubset Represent a incomplete set of components.EmptyOperatorTable A base class for operator tables, this class has no pre-defined operators.FunctionTable A table holding details of the functions known to Jep.Jep The Jep class is the main interface with which the user should interact.JepMessages Class to handle externalisation of error messages.NodeFactory This class is used to create nodes of specified types.Operator An Operator with additional information about its commutativity etc.OperatorTable OperatorTable2 The basic set of operators provided as standard by Jep.PrintVisitor Prints an expression with configuration options.PrintVisitor.NullPrintVisitor A do-nothing version of a PrintVisitor for reducing memory usage.PrintVisitor.StdElePrintRule Prints an list access in form a[3] or for multidimensional access use the list syntax.PrintVisitor.StdListPrintRule Prints a list of elements using '[' and ']' as delimiters and ',' as a separators.Variable Information about a variable.VariableFactory A factory class which is used to create variables.VariableTable A table of variables. -
Enum Summary Enum Description OperatorTable2.BasicOperators The basic arithmetic comparative and logical operatorsOperatorTable2.PsudoOperators Operators which do not correspond toOperatorTable2.SpecialOperators Special purpose operators -
Exception Summary Exception Description EvaluationException Exceptions thrown during evaluation.JepException Super class of all Jep specific exceptions.JepRuntimeException A RuntimeException which wraps a JepException for use in cases where throwing a JepException is not possible.ParseException Exception thrown at parse time.