Package org.luwrain.script
Class ScriptUtils
java.lang.Object
org.luwrain.script.ScriptUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object[]
static boolean
static int
asListOfNativeObjects
(Object value) static Number
static String
static String[]
static <E> Proxy
createEnumSet
(Set<E> s) static Proxy
static <E> Proxy
static Set
getEnumByArrayObj
(Class enumClass, Object arrayObj) static Object
getEnumItemByStr
(Class enumClass, String itemName) static Value
static boolean
static boolean
static boolean
notNull
(Value[] values) static boolean
notNullAndLen
(Value[] values, int len)
-
Constructor Details
-
ScriptUtils
public ScriptUtils()
-
-
Method Details
-
isNull
-
notNull
public static boolean notNull(Value[] values) -
notNullAndLen
public static boolean notNullAndLen(Value[] values, int len) -
getArrayItems
-
getMember
-
isBoolean
-
asBoolean
-
asNumber
-
asInt
-
asString
-
asArray
-
asList
-
asListOfNativeObjects
-
asStringArray
-
getArray
-
getArray
-
createEnumSet
-
getEnumItemByStr
-
getEnumByArrayObj
-