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 booleanevaluate(boolean cmpResult) protected final booleanevaluate(int cmpResult) protected final intgetCode()protected Stringstatic PatterngetWildCardPattern(String value) Translates Excel countif wildcard strings into java regex stringsbooleanfinal StringtoString()
-
Constructor Details
-
StringMatcher
-
-
Method Details
-
getValueText
-
matches
-
getWildCardPattern
Translates Excel countif wildcard strings into java regex strings- Returns:
nullif 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
-