+++ /dev/null
-public class Object {
- public int cachedCode;
- public boolean cachedHash;
-
- public native int nativehashCode();
- private Object nextlockobject;
- private Object prevlockobject;
-
- public int hashCode() {
- if (!cachedHash) {
- cachedCode=nativehashCode();
- cachedHash=true;
- }
- return cachedCode;
- }
-
- /* DON'T USE THIS METHOD UNLESS NECESSARY */
- /* WE WILL DEPRECATE IT AS SOON AS INSTANCEOF WORKS */
- public native int getType();
-
- public native int MonitorEnter();
- public native int MonitorExit();
-
- public String toString() {
- return String.valueOf(this);
- }
-
- public boolean equals(Object o) {
- if (o==this)
- return true;
- return false;
- }
-}