Class EqualsIgnoreCase
java.lang.Object
com.ezylang.evalex.functions.AbstractFunction
me.hsgamer.hscore.expression.ezylang.StringComparator
me.hsgamer.hscore.expression.ezylang.string.EqualsIgnoreCase
- All Implemented Interfaces:
com.ezylang.evalex.functions.FunctionIfc
@FunctionParameter(name="first") @FunctionParameter(name="second")
public class EqualsIgnoreCase
extends StringComparator
Check if the 1st string is the same as the 2nd string (case-insensitive)
Ex: STREQIC("Str1", "str1")
Ex: STREQIC("Str1", "str1")
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class me.hsgamer.hscore.expression.ezylang.StringComparator
evaluateMethods inherited from class com.ezylang.evalex.functions.AbstractFunction
getFunctionParameterDefinitions, hasVarArgs, validatePreEvaluationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.ezylang.evalex.functions.FunctionIfc
isParameterLazy
-
Constructor Details
-
EqualsIgnoreCase
public EqualsIgnoreCase()
-
-
Method Details
-
compare
Description copied from class:StringComparatorCompare the two strings- Specified by:
comparein classStringComparator- Parameters:
s1- the 1st strings2- the 2nd string- Returns:
- the result
-