List of utility methods to do Object NVL
T | nvl(T value, T ifnull) Replicates the Oracle NVL function, if the value is null, then substitute a different value in its place return (value == null) ? ifnull : value;
|
T | nvl(T value, T replacement) Replace an object with a replacement object if it's null return value == null ? replacement : value;
|
T | nvl(T value, T replacement) nvl if (value == null) { return replacement; return value; |
T | nvl(T value, T value2) NULL VALUE if (value == null) { return value2; return value; |
T | nvl(T... objs) nvl for (T obj : objs) { if (obj != null) { return obj; return null; |
T | nvl(T... objs) nvl for (T obj : objs) { if (obj != null) return obj; return null; |
T | nvl(T... objs) nvl for (T obj : objs) { if (obj != null) { return obj; return null; |
T | nvl(T... values) Returns first not null object from list, or null if all values is null. for (T val : values) { if (val != null) { return val; return null; |
T | nvl(T... values) nvl if (values != null) { for (T value : values) { if (value != null) { return value; return null; ... |
Object | nvl2(Object obj, Object obj1, Object obj2) nvl return obj == null ? obj2 : obj1;
|