public class HyphenatedDrugFSM
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) java.util.Set |
iv_hyphenDrugSet |
private java.util.Set |
iv_machineSet |
Constructor and Description |
---|
HyphenatedDrugFSM()
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.util.Set |
execute(java.util.List tokens)
Executes the finite state machines.
|
private Machine |
getDashMachine()
Gets a finite state machine that detects the following:
zyrtec-d
alka-seltzer plus
|
java.util.Set iv_hyphenDrugSet
private java.util.Set iv_machineSet
private Machine getDashMachine()
public java.util.Set execute(java.util.List tokens) throws java.lang.Exception
tokens
- java.lang.Exception