Object is the root of the class hierarchy.
More...
#include <java_lang_Object.h>
Inheritance diagram for java::lang::Object:


Public Types | |
| enum | { xmogDefaultFlags = xmog_base::GLOBAL, xmogMajorVersion = 3, xmogMinorVersion = 2, xmogPatchVersion = 9, xmogBuildNumber = 2047 } |
|
typedef ::xmog_java_array_template< ::java::lang::Object > | array1D |
|
typedef ::xmog_java_array_template< ::xmog_java_array_template< ::java::lang::Object > > | array2D |
Public Member Functions | |
| virtual bool | equals (const ::java::lang::Object &obj,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Indicates whether some other object is "equal to" this one. | |
| ::java::lang::Class | getClass (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Returns the runtime class of an object. | |
| virtual jint | hashCode (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Returns a hash code value for the object. | |
| void | notify (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Wakes up a single thread that is waiting on this object's monitor. | |
| void | notifyAll (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Wakes up all threads that are waiting on this object's monitor. | |
| Object (::xmog_dummy _use_java_ctor,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) | |
| virtual ::java::lang::String | toString (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Returns a string representation of the object. | |
| void | wait (jlong timeout,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Causes current thread to wait until either another thread invokes the method or the method for this object, or a specified amount of time has elapsed. | |
| void | wait (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Causes current thread to wait until another thread invokes the method or the method for this object. | |
Object is the root of the class hierarchy.
Every class has Object as a superclass. All objects, including arrays, implement the methods of this class.
|
||||||||||||||||
|
|
|
||||||||||||||||
|
Indicates whether some other object is "equal to" this one.
The
The
Note that it is generally necessary to override the
Reimplemented in java::lang::Boolean, java::lang::Byte, java::lang::Character, java::lang::Character::Subset, java::lang::Double, java::lang::Float, java::lang::Integer, java::lang::Long, java::lang::reflect::Constructor, java::lang::reflect::Field, java::lang::reflect::Method, java::lang::Short, java::util::AbstractList, java::util::AbstractMap, java::util::AbstractSet, java::util::ArrayList, java::util::Collection, java::util::Date, java::util::HashMap, java::util::HashSet, java::util::Hashtable, java::util::List, java::util::Map, java::util::Set, and java::util::Vector. |
|
||||||||||||
|
Returns the runtime class of an object.
That
|
|
||||||||||||
|
Returns a hash code value for the object.
This method is supported for the benefit of hashtables such as those provided by
The general contract of
As much as is reasonably practical, the hashCode method defined by class
Reimplemented in java::lang::Boolean, java::lang::Byte, java::lang::Character, java::lang::Character::Subset, java::lang::Double, java::lang::Float, java::lang::Integer, java::lang::Long, java::lang::reflect::Constructor, java::lang::reflect::Field, java::lang::reflect::Method, java::lang::Short, java::util::AbstractList, java::util::AbstractMap, java::util::AbstractSet, java::util::ArrayList, java::util::Collection, java::util::HashMap, java::util::HashSet, java::util::Hashtable, java::util::List, java::util::Map, java::util::Set, and java::util::Vector. |
|
||||||||||||
|
Wakes up a single thread that is waiting on this object's monitor.
If any threads are waiting on this object, one of them is chosen to be awakened. The choice is arbitrary and occurs at the discretion of the implementation. A thread waits on an object's monitor by calling one of the The awakened thread will not be able to proceed until the current thread relinquishes the lock on this object. The awakened thread will compete in the usual manner with any other threads that might be actively competing to synchronize on this object; for example, the awakened thread enjoys no reliable privilege or disadvantage in being the next thread to lock this object. This method should only be called by a thread that is the owner of this object's monitor. A thread becomes the owner of the object's monitor in one of three ways:
Only one thread at a time can own an object's monitor.
|
|
||||||||||||
|
Wakes up all threads that are waiting on this object's monitor.
A thread waits on an object's monitor by calling one of the The awakened threads will not be able to proceed until the current thread relinquishes the lock on this object. The awakened threads will compete in the usual manner with any other threads that might be actively competing to synchronize on this object; for example, the awakened threads enjoy no reliable privilege or disadvantage in being the next thread to lock this object.
This method should only be called by a thread that is the owner of this object's monitor. See the
|
|
||||||||||||
|
Returns a string representation of the object.
In general, the
The
Reimplemented in java::lang::Boolean, java::lang::Byte, java::lang::Character, java::lang::Character::Subset, java::lang::CharSequence, java::lang::Class, java::lang::Double, java::lang::Float, java::lang::Integer, java::lang::Long, java::lang::reflect::Constructor, java::lang::reflect::Field, java::lang::reflect::Method, java::lang::Short, java::lang::Throwable, java::util::AbstractCollection, java::util::AbstractList, java::util::AbstractMap, java::util::AbstractSet, java::util::ArrayList, java::util::HashMap, java::util::HashSet, java::util::Hashtable, java::util::Vector, javax::jms::Queue, javax::jms::Topic, and javax::naming::NamingException. |
|
||||||||||||||||
|
Causes current thread to wait until either another thread invokes the method or the method for this object, or a specified amount of time has elapsed. The current thread must own this object's monitor. This method causes the current thread (call it T) to place itself in the wait set for this object and then to relinquish any and all synchronization claims on this object. Thread T becomes disabled for thread scheduling purposes and lies dormant until one of four things happens:
wait method was invoked. Thread T then returns from the invocation of the wait method. Thus, on return from the wait method, the synchronization state of the object and of thread T is exactly as it was when the wait method was invoked.
If the current thread is interrupted by another thread while it is waiting, then an
Note that the
This method should only be called by a thread that is the owner of this object's monitor. See the
|
|
||||||||||||
1.4.1