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