Package net.n2oapp.criteria.dataset
Class NestedUtils
- java.lang.Object
-
- net.n2oapp.criteria.dataset.NestedUtils
-
public abstract class NestedUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description NestedUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanapplicableFor(Object value, String key)static booleanapplicableFor(Object value, String key, Class clazz)static ObjectcreateApplicableCollection(String key, Function<? super Map,? extends NestedMap> mapConstructor, Function<? super List,? extends NestedList> listConstructor)static StringdecodeKey(String key)static StringencodeKey(String key)static voidfillArray(List<Object> list, int idx)static Class<?>getAccessClass(String key)static intgetEndOfWord(String key)static booleanisFirstJavaVariable(String key)static booleanisJavaVariable(String key)static booleanisNestedKey(String key)static booleanisNumeric(String key)static StringwrapKey(String key)static ObjectwrapValue(Object value, Function<? super Map,? extends NestedMap> mapConstructor, Function<? super List,? extends NestedList> listConstructor)
-
-
-
Method Detail
-
isNumeric
public static boolean isNumeric(String key)
-
isJavaVariable
public static boolean isJavaVariable(String key)
-
isNestedKey
public static boolean isNestedKey(String key)
-
isFirstJavaVariable
public static boolean isFirstJavaVariable(String key)
-
getEndOfWord
public static int getEndOfWord(String key)
-
wrapValue
public static Object wrapValue(Object value, Function<? super Map,? extends NestedMap> mapConstructor, Function<? super List,? extends NestedList> listConstructor)
-
-