|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jdmk.NamedObject
This class is used for storing a pair (name, object) where name is an object name and object is a reference to the object.
Constructor Summary | |
NamedObject(ObjectName objectName,
Object object)
Deprecated. Allows a named object to be created. |
|
NamedObject(String objectName,
Object object)
Deprecated. Allows a named object to be created. |
Method Summary | |
boolean |
equals(Object object)
Deprecated. Compares the current object name with another object name. |
ObjectName |
getName()
Deprecated. Get the object name. |
Object |
getObject()
Deprecated. Get the object |
int |
hashCode()
Deprecated. Returns a hash code for this named object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NamedObject(ObjectName objectName, Object object)
objectName
- The object name of the object.object
- A reference to the object.public NamedObject(String objectName, Object object) throws MalformedObjectNameException
objectName
- The string representation of the object name of the object.object
- A reference to the object.
MalformedObjectNameException
- The string passed does not have the format of a valid ObjectNameMethod Detail |
public boolean equals(Object object)
object
- The Named Object that the current object name is to be
compared with.
public int hashCode()
public ObjectName getName()
public Object getObject()
|
FCS Release jdmk-5_1-b34.2 2005.11.29_16:24:00_MET |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |