javax.jmx.openmbean
Class ObjectArray
java.lang.Object
|
+--javax.jmx.openmbean.ObjectArray
- public class ObjectArray
- extends java.lang.Object
- implements java.io.Serializable
This class is useful in picking up an object from the Hashtable
where the key is an Object[]. Thus instead of putting Object[] as
key just make ObjectArray class instance for that Object[] and
use this as key so that different objects inside the Object[] with the
same hashCodes when queried to Hashtable get its value object.
This class overrides the toString(), hashCode() methods in java.lang.Object
Used in javax.management.TabularData class.
- See Also:
- Serialized Form
|
Constructor Summary |
ObjectArray(java.lang.Object[] array)
|
| Methods inherited from class java.lang.Object |
,
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
ObjectArray
public ObjectArray(java.lang.Object[] array)
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object
equals
public boolean equals(java.lang.Object object)
- Overrides:
- equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
- hashCode in class java.lang.Object
getObjectArray
java.lang.Object[] getObjectArray()