Class Contains
java.lang.Object
com.ezylang.evalex.functions.AbstractFunction
me.hsgamer.hscore.expression.StringComparator
me.hsgamer.hscore.expression.string.Contains
- All Implemented Interfaces:
com.ezylang.evalex.functions.FunctionIfc
@FunctionParameter(name="string") @FunctionParameter(name="substring")
public class Contains
extends StringComparator
Check if the 1st string contains the 2nd string
Ex: STRCT("this", "is")
Ex: STRCT("this", "is")
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class me.hsgamer.hscore.expression.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
getCountOfNonVarArgParameters, isParameterLazy
-
Constructor Details
-
Contains
public Contains()
-
-
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
-