Package ca.phon.phonex
Class CompoundPhoneMatcher
java.lang.Object
ca.phon.phonex.CompoundPhoneMatcher
- All Implemented Interfaces:
PhoneMatcher
Handles matching compound phones using two separate
phone matchers.
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
Visitor for compound phones -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Perform test on given phone.boolean
Does this matcher match anything? Used at runtime to help determine proper backtracking paths.toString()
-
Constructor Details
-
CompoundPhoneMatcher
-
-
Method Details
-
matches
Description copied from interface:PhoneMatcher
Perform test on given phone.- Specified by:
matches
in interfacePhoneMatcher
-
matchesAnything
public boolean matchesAnything()Description copied from interface:PhoneMatcher
Does this matcher match anything? Used at runtime to help determine proper backtracking paths.- Specified by:
matchesAnything
in interfacePhoneMatcher
-
toString
-