Object (Java SE 23 & JDK 23 [ad-hoc build]) (original) (raw)

java.lang.Object

Constructors

[clone](#clone%28%29)()
Creates and returns a copy of this object.
boolean
Indicates whether some other object is "equal to" this one.
protected void
[finalize](#finalize%28%29)()
Deprecated, for removal: This API element is subject to removal in a future version.
[getClass](#getClass%28%29)()
Returns the runtime class of this Object.
int
[hashCode](#hashCode%28%29)()
Returns a hash code value for this object.
final void
[notify](#notify%28%29)()
Wakes up a single thread that is waiting on this object's monitor.
final void
[notifyAll](#notifyAll%28%29)()
Wakes up all threads that are waiting on this object's monitor.
[toString](#toString%28%29)()
Returns a string representation of the object.
final void
[wait](#wait%28%29)()
Causes the current thread to wait until it is awakened, typically by being notified or interrupted.
final void
[wait](#wait%28long%29)(long timeoutMillis)
Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.
final void
[wait](#wait%28long,int%29)(long timeoutMillis, int nanos)
Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.