Java Object NVL nvl2(Object obj, Object obj1, Object obj2)

Here you can find the source of nvl2(Object obj, Object obj1, Object obj2)

Description

nvl

License

Open Source License

Declaration

public static Object nvl2(Object obj, Object obj1, Object obj2) 

Method Source Code

//package com.java2s;

public class Main {
    public static Object nvl2(Object obj, Object obj1, Object obj2) {
        return obj == null ? obj2 : obj1;
    }//from ww w .  j  a  v a  2  s. c  o m
}

Related

  1. nvl(T... objs)
  2. nvl(T... objs)
  3. nvl(T... objs)
  4. nvl(T... values)
  5. nvl(T... values)
  6. nvlArr(String[][] planarArr)
  7. nvlDefault(String val)
  8. nvlEmptyString(String object)
  9. nvlInteger(String pString, Integer pInteger)