API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.lang. Object View Source
Author(s)
unascribed
Since
JDK1.0
Version
1.73, 03/30/06
Serial
Hierarchy
 Object
Implements
Subclasses
Description
public class Object
  Class Object is the root of the class hierarchy.
See also:    Class
Constructors
public Object ()
Methods
Hide/Show inherited methods
protectednative Object clone () throws CloneNotSupportedException
  Creates and returns a copy of this object.
public boolean equals (Object obj)
  Indicates whether some other object is "equal to" this one.
protected void finalize () throws Throwable
  Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
publicfinalnative Class<Object> getClass ()
  Returns the runtime class of this Object.
publicnative int hashCode ()
  Returns a hash code value for the object.
publicfinalnative void notify ()
  Wakes up a single thread that is waiting on this object's monitor.
publicfinalnative void notifyAll ()
  Wakes up all threads that are waiting on this object's monitor.
public String toString ()
  Returns a string representation of the object.
publicfinal void wait () throws InterruptedException
  Causes the current thread to wait until another thread invokes the Object.notify() method or the Object.notifyAll() method for this object.
publicfinalnative void wait (long timeout) throws InterruptedException
  Causes the current thread to wait until either another thread invokes the Object.notify() method or the Object.notifyAll() method for this object, or a specified amount of time has elapsed.
publicfinal void wait (long timeout, int nanos) throws InterruptedException
  Causes the current thread to wait until another thread invokes the Object.notify() method or the Object.notifyAll() method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar