• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2007 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package java.lang;
18 
19 public class Object {
Object()20     public Object() {
21         // This space intentionally left blank.
22     }
23 
equals(Object o)24     public boolean equals(Object o) {
25         return true;
26     }
27 
finalize()28     protected void finalize() {
29         // This space intentionally left blank.
30     }
31 
getClass()32     public final native Class<? extends Object> getClass();
hashCode()33     public native int hashCode();
notify()34     public final native void notify();
notifyAll()35     public final native void notifyAll();
36 
toString()37     public String toString() {
38         return "blort";
39     }
40 
wait()41     public final void wait() {
42         wait(0, 0);
43     }
44 
wait(long time)45     public final void wait(long time) {
46         wait(time, 0);
47     }
48 
wait(long time, int frac)49     public final native void wait(long time, int frac);
50 }
51