Undefined.java :  » Scripting » Nice » gnu » expr » Java Open Source

Java Open Source » Scripting » Nice 
Nice » gnu » expr » Undefined.java
package gnu.expr;
import gnu.mapping.*;

import java.io.PrintWriter;

public class Undefined extends Object implements Printable {
  static private Undefined undef = null;
  static public Undefined getInstance()
  {
    if (undef == null)
      undef = new Undefined();
    return undef;
  }

   public Undefined() {
   }
   public void print(java.io.PrintWriter ps) {
      ps.print("#<undefined>");
   }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.