Package risesoft.data.transfer.core.util
Class ValueUtils
- java.lang.Object
-
- risesoft.data.transfer.core.util.ValueUtils
-
public class ValueUtils extends Object
值操作工具类- Author:
- lb
- Date:
- 2023年12月8日
-
-
Constructor Summary
Constructors Constructor Description ValueUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> TgetDefault(T value, T defaultValue)static <T> TgetRequired(T value, String message)
-
-
-
Method Detail
-
getRequired
public static <T> T getRequired(T value, String message)
-
getDefault
public static <T> T getDefault(T value, T defaultValue)
-
-