public class SimpleOperandFactory<T> extends Object implements OperandFactory
| Constructor and Description |
|---|
SimpleOperandFactory(List<T> operands)
Create a parser with a predefined list of operands.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractOperand |
createOperand(String name)
Create an operand object for a given name.
|
AbstractOperand |
createOperand(String name,
int threshold)
Create an operand object for a given name and threshold.
|
MDDManager |
getMDDManager()
get (or refresh) the MDDManager associated to this parser.
|
boolean |
verifOperandList(List<String> list)
Check that a list of names matches valid operands for this parser.
|
public boolean verifOperandList(List<String> list)
OperandFactoryverifOperandList in interface OperandFactorypublic AbstractOperand createOperand(String name)
OperandFactorycreateOperand in interface OperandFactorypublic AbstractOperand createOperand(String name, int threshold)
OperandFactorycreateOperand in interface OperandFactorypublic MDDManager getMDDManager()
OperandFactorygetMDDManager in interface OperandFactoryCopyright © 2009–2020. All rights reserved.