public abstract class Convert extends Object
| Modifier and Type | Field and Description |
|---|---|
static Map<Class<?>,Function<Object[],?>> |
castMap |
| Constructor and Description |
|---|
Convert() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
cast(Class<T> type,
Object... values) |
protected static <T> T |
convert(Object[] values,
Class<T> type,
Function<Object,T> function) |
static BigDecimal |
toBigDecimal(Object... values) |
static BigInteger |
toBigInteger(Object... values) |
static Boolean |
toBoolean(Object... values) |
static Date |
toDate(Object... values) |
static Double |
toDouble(Object... values) |
static Float |
toFloat(Object... values) |
static Integer |
toInteger(Object... values) |
static LocalDate |
toLocalDate(Object... values) |
static LocalDateTime |
toLocalDateTime(Object... values) |
static Long |
toLong(Object... values) |
static Short |
toShort(Object... values) |
static Date |
toSqlDate(Object... values) |
static String |
toString(Object... values) |
public static BigInteger toBigInteger(Object... values)
public static BigDecimal toBigDecimal(Object... values)
public static LocalDateTime toLocalDateTime(Object... values)
Copyright © 2023. All rights reserved.