Package com.intellij.util
Class ObjectUtils
java.lang.Object
com.intellij.util.ObjectUtils
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> voidassertAllElementsNotNull(T[] array) static <T> TassertNotNull(T t) static <T> TchooseNotNull(T t1, T t2) static <T> Tstatic <T> Tcoalesce(T t1, T t2) static <T> Tcoalesce(T t1, T t2, T t3) static <T> TnotNull(T value) static <T> TnotNull(T value, T defaultValue) static <T> TnullizeByCondition(T obj, Condition<T> condition) static <T> T
-
Field Details
-
NULL
-
-
Method Details
-
assertNotNull
-
assertAllElementsNotNull
-
chooseNotNull
-
coalesce
-
coalesce
-
coalesce
-
notNull
-
notNull
-
tryCast
-
nullizeByCondition
-