Class Countif.StringMatcher
java.lang.Object
org.apache.poi.ss.formula.functions.Countif.StringMatcher
- All Implemented Interfaces:
org.apache.poi.ss.formula.functions.CountUtils.I_MatchPredicate
- Enclosing class:
Countif
-
Constructor Summary
ConstructorsConstructorDescriptionStringMatcher
(String value, org.apache.poi.ss.formula.functions.Countif.CmpOp operator) -
Method Summary
Modifier and TypeMethodDescriptionprotected final boolean
evaluate
(boolean cmpResult) protected final boolean
evaluate
(int cmpResult) protected final int
getCode()
protected String
static Pattern
getWildCardPattern
(String value) Translates Excel countif wildcard strings into java regex stringsboolean
final String
toString()
-
Constructor Details
-
StringMatcher
-
-
Method Details
-
getValueText
-
matches
-
getWildCardPattern
Translates Excel countif wildcard strings into java regex strings- Returns:
null
if the specified value contains no special wildcard characters.
-
getCode
protected final int getCode() -
evaluate
protected final boolean evaluate(int cmpResult) -
evaluate
protected final boolean evaluate(boolean cmpResult) -
toString
-