mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
a88f7c8473
work, but it fails with the current build.
36 lines
788 B
Java
36 lines
788 B
Java
package java.lang;
|
|
|
|
public class Object {
|
|
protected Object clone() throws CloneNotSupportedException {
|
|
if ((this instanceof Cloneable) || getClass().isArray()) {
|
|
return clone(this);
|
|
} else {
|
|
throw new CloneNotSupportedException(getClass().getName());
|
|
}
|
|
}
|
|
|
|
private static native Object clone(Object o);
|
|
|
|
public boolean equals(Object o) {
|
|
return this == o;
|
|
}
|
|
|
|
protected void finalize() { }
|
|
|
|
public native final Class<? extends Object> getClass();
|
|
|
|
public native int hashCode();
|
|
|
|
public native final void notify();
|
|
|
|
public native final void notifyAll();
|
|
|
|
public native String toString();
|
|
|
|
public final void wait() throws InterruptedException {
|
|
wait(0);
|
|
}
|
|
|
|
public native final void wait(long timeout) throws InterruptedException;
|
|
}
|