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) |
static int |
size(Iterable<?> iterable) |
static int |
size(Iterator<?> iterator) |
public static int size(Iterable<?> iterable)
public static int size(Iterator<?> iterator)
public static Object coerceTypes(Class clazz, Object value)
clazz
- the entity field typevalue
- the property valueCopyright © 2018 Neo Technology, Inc.. All rights reserved.