home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 25 / CDROM25.iso / Share / prog / VJ11 / VJTRIAL.EXE / IE30Java.exe / classd.exe / java / lang / Object.class (.txt) < prev    next >
Encoding:
Java Class File  |  1997-01-27  |  1.1 KB  |  39 lines

  1. package java.lang;
  2.  
  3. public class Object {
  4.    public final native Class getClass();
  5.  
  6.    public native int hashCode();
  7.  
  8.    public boolean equals(Object var1) {
  9.       return this == var1;
  10.    }
  11.  
  12.    protected native Object clone() throws CloneNotSupportedException;
  13.  
  14.    public String toString() {
  15.       return this.getClass().getName() + "@" + Integer.toString(this.hashCode() << 1 >>> 1, 16);
  16.    }
  17.  
  18.    public final native void notify();
  19.  
  20.    public final native void notifyAll();
  21.  
  22.    public final native void wait(long var1) throws InterruptedException;
  23.  
  24.    public final void wait(long var1, int var3) throws InterruptedException {
  25.       if (var3 >= 500000 || var3 != 0 && var1 == 0L) {
  26.          ++var1;
  27.       }
  28.  
  29.       this.wait(var1);
  30.    }
  31.  
  32.    public final void wait() throws InterruptedException {
  33.       this.wait(0L);
  34.    }
  35.  
  36.    protected void finalize() throws Throwable {
  37.    }
  38. }
  39.