|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Object
public class Object
Class Object is the root of the class hierarchy.
Every class has Object as a superclass.
All objects implement the methods of this class.
| Constructor Summary | |
|---|---|
Object()
Constructs a new Object instance. |
|
| Method Summary | |
|---|---|
String |
toString()
Returns a string representation of the object. |
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this one. |
int |
hashCode()
Returns a hash code value for the object. |
| Methods inherited from |
|---|
equals, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Object()
| Method Detail |
|---|
public String toString()
toString method returns a string that
"textually represents" this object.
public int hashCode()
Map.
hashCode in class equals(Object),
Mappublic boolean equals(Object obj)
obj - the reference object with which to compare.
true if this object is the same as the obj
argument; false otherwise.Map
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||