DOCUMENTATION COMMENTS
Example
18.5
Returns the Class of this Object. Java has a runtime
representation for classes a descriptor of type Class
which the method getClass() returns for any Object.
o ">
hashCode
public int hashCode()
Returns a hashcode for this Object.
Each Object in the Java system has a hashcode.
The hashcode is a number that is usually different
for different Objects. It is used when storing Objects
in hashtables.
Note: hashcodes can be negative as well as positive.
See Also:
Hashtable
ight=12 alt=" o ">
equals
public boolean equals(Object obj)
Compares two Objects for equality.
Returns a boolean that indicates whether this Object
is equivalent to the specified Object. This method is
used when an Object is stored in a hashtable.
Parameters:
obj the Object to compare with
Returns:
true if these Objects are equal;
false otherwise.
See Also:
Hashtable
>
clone
protected Object clone() throws neNotSupportedException.html#_top_">CloneNotSupportedException
Creates a clone of the object. A new instance is
allocated and a bitwise clone of the current object
is placed in the new object.
Returns:
a clone of this Object.
Throws: OutOf
MemoryError
If there is not enough
memory.
Throws: op_">CloneNotSupportedException
Object
explicitly does not want to be
cloned, or it does not support
the Cloneable interface.
429
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved