why do you have to import java.io?

-jon


-- 
  // Java stuff
  import java.io.*;
  
  /**
   * This is where common Object manipulation routines should go.
   *
   * @author <a href="mailto:[EMAIL PROTECTED]">Nissim Karpenstein</a>
   * @version $Id: ObjectUtils.java,v 1.1 2000/10/03 19:48:22 nissim Exp $
   */
  public class ObjectUtils
  {
  
      /**
       * Returns a default value if the object passed is null.
       */
      public static Object isNull(Object o, Object dflt)
      {
          if (o == null)
              return dflt;
          else
              return o;
      }
  }
  
  
  




------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to