-
public class ObjectUtils
-
-
Method Summary
Modifier and Type Method Description static <T> TfirstNonNull(@Nullable() T first, @NonNull() T second)static <T, V> booleansafeEquals(T first, V second)static <T, V> booleannullAllowedEquals(T first, V second)static Map<String, Object>toMap(JSONObject object)static Map<String, Object>objectDifference(Map<String, Object> original, Map<String, Object> updated)static List<String>mergeRemovingDuplicates(List<String> first, List<String> second)static <T> TdeepCopy(Gson gson, T obj, Class<T> clazz)static StringcommaConcat(Array<String> input)-
-
Method Detail
-
safeEquals
static <T, V> boolean safeEquals(T first, V second)
-
nullAllowedEquals
static <T, V> boolean nullAllowedEquals(T first, V second)
-
toMap
static Map<String, Object> toMap(JSONObject object)
-
objectDifference
static Map<String, Object> objectDifference(Map<String, Object> original, Map<String, Object> updated)
-
mergeRemovingDuplicates
static List<String> mergeRemovingDuplicates(List<String> first, List<String> second)
-
commaConcat
static String commaConcat(Array<String> input)
-
-
-
-