Class jExists
- java.lang.Object
-
- edu.uiuc.ncsa.security.util.functor.JFunctorImpl
-
- edu.uiuc.ncsa.security.util.functor.logic.jStringComparisons
-
- edu.uiuc.ncsa.security.util.functor.logic.jExists
-
- All Implemented Interfaces:
JFunctor
,JMetaMetaFunctor
,JSONFunctor
,Serializable
public class jExists extends jStringComparisons
A functor to test if a string exists.$exists[A]
this yields false if A is null or empty. IT yields true otherwise. Note that$exists[" "]
(a bunch of blanks) is true. If you wanted to check against a string of blanks you might use something like$exists[$trim[A]]
which would remove all the whitspace first.Created by Jeff Gaynor
on 2/27/18 at 1:09 PM- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class edu.uiuc.ncsa.security.util.functor.JFunctorImpl
args, executed, result, type
-
-
Constructor Summary
Constructors Constructor Description jExists()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
execute()
-
Methods inherited from class edu.uiuc.ncsa.security.util.functor.logic.jStringComparisons
processArg
-
Methods inherited from class edu.uiuc.ncsa.security.util.functor.JFunctorImpl
addArg, addArg, addArg, addArg, addArg, addArg, checkArgs, checkArgs, clearState, getArgs, getBooleanResult, getIntResult, getListResult, getName, getResult, getStringResult, isExecuted, reset, toJSON, toString
-
-
-
-
Method Detail
-
execute
public Object execute()
-
-