|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.management.openmbean.OpenType (src)
javax.management.openmbean.ArrayType
Array types.
Field Summary |
Fields inherited from class javax.management.openmbean.OpenType (src) |
ALLOWED_CLASSNAMES |
Constructor Summary | |
ArrayType(int dimension,
OpenType (src) elementType)
Construct an ArrayType. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Compares two object types for equality |
int |
getDimension()
Get the dimension of the array |
OpenType (src) |
getElementOpenType()
Get the open type of the array elements |
int |
hashCode()
Retrieve the hashCode for this OpenType |
boolean |
isValue(java.lang.Object obj)
Whether the passed value is one of those described by this open type. |
java.lang.String |
toString()
Retrieve a string representation of this open type |
Methods inherited from class javax.management.openmbean.OpenType (src) |
getClassName, getDescription, getTypeName, isArray |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ArrayType(int dimension, OpenType (src) elementType) throws OpenDataException (src)
dimension
- the number of dimensions in the arrayelementType
- the open type of the array elements
OpenDataException (src)
- when open type is an ArrayType
java.lang.IllegalArgumentException
- for a null argument or
non-negative dimensionMethod Detail |
public int getDimension()
public OpenType (src) getElementOpenType()
public boolean isValue(java.lang.Object obj)
OpenType (src)
isValue
in class OpenType (src)
obj
- the object to test
public boolean equals(java.lang.Object obj)
OpenType (src)
equals
in class OpenType (src)
public int hashCode()
OpenType (src)
hashCode
in class OpenType (src)
public java.lang.String toString()
OpenType (src)
toString
in class OpenType (src)
|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |