Here you can find the source of nvl(Object arg0, Object arg1)
public static Object nvl(Object arg0, Object arg1)
//package com.java2s; /******************************************************************************* * Copyright (c) 2004, 2006//from ww w . j a va 2 s.c o m * Thomas Hallgren, Kenneth Olwing, Mitch Sonies * Pontus Rydin, Nils Unden, Peer Torngren * The code, documentation and other materials contained herein have been * licensed under the Eclipse Public License - v 1.0 by the individual * copyright holders listed above, as Initial Contributors under such license. * The text of such license is available at www.eclipse.org. *******************************************************************************/ public class Main { public static Object nvl(Object arg0, Object arg1) { return arg0 != null ? arg0 : arg1; } }