Class ParallelConfigurableParser

java.lang.Object
com.singularsys.jep.configurableparser.ConfigurableParser
com.singularsys.jep.misc.parallelparsing.ParallelConfigurableParser
All Implemented Interfaces:
JepComponent, Parser, Serializable

public class ParallelConfigurableParser extends ConfigurableParser
A version of the ConfigurableParser that can parse expressions in multiple threads. Only the @link{#parse(Reader)} method is supported other methods are not suitable for multi-threaded use and will throw UnsupportedOperationException. The parse(Reader) method creates a new Tokenizer, GrammarParser, and new instances of each TokenFilter, uses them to parse the input.

The individual TokenMatcher and GrammarMatcher objects are assumed to be thread safe.

See Also: