1 /* 2 * /nodynamiccopyright/ 3 * See ../Object2-test.java 4 */ 5 6 package java.lang; 7 class Object implements Cloneable { getClass()8 public final native Class getClass(); hashCode()9 public native int hashCode(); equals(Object obj)10 public native boolean equals(Object obj); clone()11 public native Object clone() throws CloneNotSupportedException; toString()12 public native String toString(); notify()13 public final native void notify(); notifyAll()14 public final native void notifyAll(); wait(long timeout)15 public final native void wait(long timeout) throws InterruptedException; wait(long timeout, int nanos)16 public native final void wait(long timeout, int nanos) throws InterruptedException; wait()17 public native final void wait() throws InterruptedException; finalize()18 protected void finalize() throws Throwable { } 19 } 20