Java tutorial
//package com.java2s; public class Main { public static boolean isNvl(Object obj) { if (null == obj || obj.equals("")) { return Boolean.TRUE; } return Boolean.FALSE; } }