|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
Object is the base class for all objects.
The number of methods in this class is small since each method added to this class is added to all other classes in the system.
As with all classes in the java.lang package, you can't reference the Object class using the full specifier of java.lang.Object. The java.lang package is implicitly imported. Instead, you should simply access the Object class like this:
Object obj = (Object)value;
Constructor Summary | |
Object()
|
Method Summary | |
boolean |
equals(Object other)
The equals method for class Object implements the most discriminating possible equivalence relation on objects; that is, for any reference values x and y, this method returns true if and only if x and y refer to the same object (x==y has the value true). |
Class |
getClass()
Returns the Class that this object represents. |
int |
hashCode()
returns the hashcode of this object. |
void |
notify()
Not used in device |
String |
toString()
Returns the string representation of the object, that is full_class_name@internal_address_hex. |
void |
wait()
Not used in device |
void |
wait(long timeout)
Not used in device |
Constructor Detail |
public Object()
Method Detail |
public String toString()
public int hashCode()
public boolean equals(Object other)
public final Class getClass()
public final void notify()
public final void wait()
public final void wait(long timeout)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |