public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
coerceTypes(Class clazz,
Object value)
Coerce numeric types when mapping properties from nodes to entities.
|
static Map<String,Object> |
map(Object... keysAndValues)
Deprecated.
since 3.2.3, no replacement. Use Collections.singletonMap or emptyMap, or Map builders on JDK 9+
|
static int |
size(Iterable<?> iterable)
Deprecated.
Since 3.2.3, no replacement.
|
@Deprecated public static Map<String,Object> map(Object... keysAndValues)
keysAndValues - The list of key and values, must be an even number@Deprecated public static int size(Iterable<?> iterable)
iterable - The iterable who's size should be determined.public static Object coerceTypes(Class clazz, Object value)
clazz - the entity field typevalue - the property valueCopyright © 2015–2020 Neo Technology, Inc.. All rights reserved.