Java java.lang Object fields, constructors, methods, implement or subclass

Example usage for Java java.lang Object fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.lang Object.

The text is from its open source code.

Subclass

java.lang.Object has subclasses.
Click this link to see all its subclasses.

Constructor

Object()
Constructs a new object.
Object()
Constructs a new object.

Method

Objectclone()
Creates and returns a copy of this object.
booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
voidfinalize()
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
ClassgetClass()
Returns the runtime class of this Object .
inthashCode()
Returns a hash code value for the object.
voidnotify()
Wakes up a single thread that is waiting on this object's monitor.
voidnotifyAll()
Wakes up all threads that are waiting on this object's monitor.
StringtoString()
Returns a string representation of the object.
voidwait()
Causes the current thread to wait until it is awakened, typically by being notified or interrupted.
voidwait(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.