00001 /*! 00002 * @file Object.java 00003 * 00004 * @brief Sample subset of @c @b java.lang.Object native 00005 * methods 00006 * 00007 * The full implementation of this source file should contain each and 00008 * every native method that is declared by the implmentation and it 00009 * should be stored in a shared archive along with the other classes 00010 * of this Java package's native methods. 00011 * 00012 * 00013 * @section Control 00014 * 00015 * \$URL: https://svn.apache.org/path/name/Object.java $ \$Id: Object.java 0 09/28/2005 dlydick $ 00016 * 00017 * Copyright 2005 The Apache Software Foundation 00018 * or its licensors, as applicable. 00019 * 00020 * Licensed under the Apache License, Version 2.0 ("the License"); 00021 * you may not use this file except in compliance with the License. 00022 * You may obtain a copy of the License at 00023 * 00024 * http://www.apache.org/licenses/LICENSE-2.0 00025 * 00026 * Unless required by applicable law or agreed to in writing, 00027 * software distributed under the License is distributed on an 00028 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 00029 * either express or implied. 00030 * 00031 * See the License for the specific language governing permissions 00032 * and limitations under the License. 00033 * 00034 * @version \$LastChangedRevision: 0 $ 00035 * 00036 * @date \$LastChangedDate: 09/28/2005 $ 00037 * 00038 * @author \$LastChangedBy: dlydick $ 00039 * Original code contributed by Daniel Lydick on 09/28/2005. 00040 * 00041 * @section Reference 00042 * 00043 */ 00044 00045 package java.lang; 00046 00047 /*! 00048 * @brief Java class definition of @c @b java.lang.Object, 00049 * the class that is the root of the object hierarchy. 00050 * 00051 * The class @c @b java.lang.object is the root of the 00052 * object hierarchy. As a class that contains @c @b native 00053 * calls into the JVM, this stub sample implementation is intended 00054 * to be filled out into the complete class definition. 00055 * 00056 */ 00057 public class Object 00058 { 00059 /*! 00060 * @brief Native definition 00061 * for @c @b java.lang.Object.registerNatives() 00062 * 00063 * @verbatim 00064 Class: java.lang.Object 00065 Method: registerNatives 00066 Signature: ()V 00067 @endverbatim 00068 * 00069 */ 00070 native private static void registerNatives(); 00071 00072 00073 /*! 00074 * @brief Native definition 00075 * for @c @b java.lang.Object.unregisterNatives() 00076 * 00077 * @verbatim 00078 Class: java.lang.Object 00079 Method: unregisterNatives 00080 Signature: ()V 00081 @endverbatim 00082 * 00083 */ 00084 native private static void unregisterNatives(); 00085 00086 00087 /*! 00088 * @brief Native definition 00089 * for @c @b java.lang.Object.getClass() 00090 * 00091 * @verbatim 00092 Class: java.lang.Object 00093 Method: getClass 00094 Signature: ()Ljava/lang/Class; 00095 @endverbatim 00096 * 00097 */ 00098 native public Class getClass(); 00099 00100 00101 /*! 00102 * @brief Native definition 00103 * for @c @b java.lang.Object.hashCode() 00104 * 00105 * @verbatim 00106 Class: java.lang.Object 00107 Method: hashCode 00108 Signature: ()I 00109 @endverbatim 00110 * 00111 */ 00112 native public int hashCode(); 00113 00114 00115 /*! 00116 * @brief Native definition 00117 * for @c @b java.lang.Object.wait() 00118 * 00119 * @verbatim 00120 Class: java.lang.Object 00121 Method: wait 00122 Signature: ()V 00123 @endverbatim 00124 * 00125 */ 00126 native public void wait(); 00127 00128 00129 /*! 00130 * @brief Native definition 00131 * for @c @b java.lang.Object.wait(long) 00132 * 00133 * @verbatim 00134 Class: java.lang.Object 00135 Method: wait 00136 Signature: (J)V 00137 @endverbatim 00138 * 00139 */ 00140 native public long wait(long milliseconds); 00141 00142 } /* END of java.lang.Object */ 00143 00144 00145 /* EOF */ 00146