Java Object NVL nvl(String value, String defaultValue)

Here you can find the source of nvl(String value, String defaultValue)

Description

nvl

License

Open Source License

Declaration

public static String nvl(String value, String defaultValue) 

Method Source Code

//package com.java2s;

public class Main {
    public static String nvl(String value, String defaultValue) {
        return value == null ? defaultValue : value;
    }/*from  ww  w .  ja  v a  2s . c  om*/
}

Related

  1. nvl(String str)
  2. nvl(String str, String nullString)
  3. NVL(String str, String replace)
  4. nvl(String string)
  5. nvl(String value)
  6. NVL(String value, String replace)
  7. nvl(String x, String y)
  8. nvl(T mainValue, T... fallbackValues)
  9. nvl(T o, T replacement)