2007-06-20 19:37:43 -06:00
|
|
|
package java.lang;
|
|
|
|
|
|
|
|
public class Object {
|
2007-06-24 15:49:04 -06:00
|
|
|
protected native Object clone();
|
2007-06-20 19:37:43 -06:00
|
|
|
|
|
|
|
public boolean equals(Object o) {
|
|
|
|
return this == o;
|
|
|
|
}
|
|
|
|
|
|
|
|
protected void finalize() { }
|
|
|
|
|
2007-06-24 15:49:04 -06:00
|
|
|
public native final Class<? extends Object> getClass();
|
2007-06-20 19:37:43 -06:00
|
|
|
|
2007-06-24 15:49:04 -06:00
|
|
|
public native int hashCode();
|
2007-06-20 19:37:43 -06:00
|
|
|
|
2007-06-24 15:49:04 -06:00
|
|
|
public native final void notify();
|
2007-06-20 19:37:43 -06:00
|
|
|
|
2007-06-24 15:49:04 -06:00
|
|
|
public native final void notifyAll();
|
2007-06-20 19:37:43 -06:00
|
|
|
|
2007-06-24 15:49:04 -06:00
|
|
|
public native String toString();
|
2007-06-20 19:37:43 -06:00
|
|
|
|
2007-07-07 17:47:35 -06:00
|
|
|
public final void wait() {
|
|
|
|
wait(0);
|
|
|
|
}
|
2007-06-20 19:37:43 -06:00
|
|
|
|
2007-06-24 15:49:04 -06:00
|
|
|
public native final void wait(long timeout);
|
2007-06-20 19:37:43 -06:00
|
|
|
}
|