Class CalculateService
- java.lang.Object
-
- org.fluentlenium.core.filter.matcher.CalculateService
-
public final class CalculateService extends java.lang.Object
Static class that are in charge of analyzed the filter and matcher.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
contains(java.util.regex.Pattern patternValue, java.lang.String referenceValue, java.lang.String currentValue)
check if the current value contains the patternValue or the referenceValuestatic boolean
endsWith(java.util.regex.Pattern patternValue, java.lang.String referenceValue, java.lang.String currentValue)
check if the current value ends with the patternValue or the referenceValuestatic boolean
equal(java.util.regex.Pattern patternValue, java.lang.String referenceValue, java.lang.String currentValue)
check if the current value is equal the patternValue or the referenceValuestatic boolean
startsWith(java.util.regex.Pattern patternValue, java.lang.String referenceValue, java.lang.String currentValue)
check if the current value starts with the patternValue or the referenceValue
-
-
-
Method Detail
-
contains
public static boolean contains(java.util.regex.Pattern patternValue, java.lang.String referenceValue, java.lang.String currentValue)
check if the current value contains the patternValue or the referenceValue- Parameters:
patternValue
- patternreferenceValue
- reference valuecurrentValue
- current value- Returns:
- boolean value for contains check
-
equal
public static boolean equal(java.util.regex.Pattern patternValue, java.lang.String referenceValue, java.lang.String currentValue)
check if the current value is equal the patternValue or the referenceValue- Parameters:
patternValue
- patternreferenceValue
- reference valuecurrentValue
- current value- Returns:
- boolean value for equal check
-
startsWith
public static boolean startsWith(java.util.regex.Pattern patternValue, java.lang.String referenceValue, java.lang.String currentValue)
check if the current value starts with the patternValue or the referenceValue- Parameters:
patternValue
- patternreferenceValue
- reference valuecurrentValue
- current value- Returns:
- boolean value for startsWith check
-
endsWith
public static boolean endsWith(java.util.regex.Pattern patternValue, java.lang.String referenceValue, java.lang.String currentValue)
check if the current value ends with the patternValue or the referenceValue- Parameters:
patternValue
- patternreferenceValue
- reference valuecurrentValue
- current value- Returns:
- boolean value for endsWith check
-
-