Package com.singularsys.jep
Interface JepComponent
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
Evaluator,GrammarParserFactory,NumberFactory,OperatorTableI,Parser,TokenizerFactory
- All Known Implementing Classes:
AlternateFunctions,BigDecFunctionTable,BigDecNumberFactory,BigDecOperatorTable,BitwiseOperatorTable,BoundVariableFactory,CaseInsensitiveFunctionTable,CaseInsensitiveVariableTable,ComponentSubset,ConcurrentVariableTable,ConfigurableParser,ConfigurableParserWithRange,Count,DecoratingVariableTable,DeepCopyVisitor,DictionaryComponents,DoNothingVisitor,DoubleNumberFactory,EmptyOperatorTable,ExpressionConsolidator,ExtendedOperatorSet,FastEvaluator,FastEvaluator3_4,FastEvaluator3_5,FunctionSet,FunctionTable,GenericDeepCopyVisitor,GenericDoNothingVisitor,ImportationVisitor,JavaOperatorTable,LatexTest.PowerRule,LightWeightImportationVisitor,LineNumberingNodeFactory,LineNumberingShuntingYard.LineNumberGrammarParserFactory,MacroFunction,ModifiedParserTest.SuffixArrayAccessShuntingYardGrammarParserFactory,MonitoringEvaluator,NodeFactory,NullParser,NullWrappedFunctionFactory,NullWrappedFunctionTable,NullWrappedOperatorTable,OneShotComponent,OperatorTable,OperatorTable2,OverloadedBinaryFunction,OverloadedFunctionByStructure,OverloadedNaryFunction,OverloadedUnaryFunction,OverloadResolver,ParallelConfigurableParser,PostfixEvaluator,PrintVisitor,PrintVisitor.NullPrintVisitor,PublishingVariableFactory,PublishingVariableTable,RealEvaluator,RealFunctionTable,RealVariableTable,ShuntingYard.ShuntingYardGrammarParserFactory,StackCheckingFastEvaluator,StandardConfigurableParser,StandardEvaluator,StandardFunctionTable,StandardOperatorTable,StandardOperatorTable2,StandardParser,StandardVariableTable,StrictDoubleNumberFactory,StringFunctionSet,SubstitutionVisitor,ThreadSafeEvaluator,Tokenizer.StandardTokenizerFactory,UncheckedEvaluator,VariableFactory,VariableTable
Base interface for all Jep components (parsers, evaluators etc).
- Author:
- Richard Morris
-
Method Summary
Modifier and TypeMethodDescriptionGets a light-weight instance suitable for using in multiple threads.voidInitialize the component.
-
Method Details
-
init
Initialize the component. This method is called whenever a component is added to Jep. Hence, it allows components to keep track of the other components they may rely on.- Parameters:
jep- the current Jep instance
-
getLightWeightInstance
JepComponent getLightWeightInstance()Gets a light-weight instance suitable for using in multiple threads.- Returns:
- either a new instance, null or 'this'.
-