API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.management.openmbean. ArrayType View Source
Author(s)
Sun Microsystems, Inc.
Since
1.5
Version
3.36 06/05/15
Serial
Hierarchy
 Object
      OpenType
          ArrayType
Implements
Subclasses
Description
public class ArrayType
  The ArrayType class is the open type class whose instances describe all open data values which are n-dimensional arrays of open data values.
See also:   
Constructors
public ArrayType (int dimension, OpenType<Object> elementType) throws OpenDataException
  Constructs an ArrayType instance describing open data values which are arrays with dimension dimension of elements whose open type is elementType.
public ArrayType (SimpleType<Object> elementType, boolean primitiveArray) throws OpenDataException
  Constructs a unidimensional ArrayType instance for the supplied SimpleType.
pack-private ArrayType (String className, String typeName, String description, int dimension, OpenType elementType, boolean primitiveArray)
Methods
Hide/Show inherited methods
public boolean equals (Object obj) [Specified in OpenType]
  Compares the specified obj parameter with this ArrayType instance for equality.
publicstatic ArrayType< E> getArrayType (OpenType< E> elementType) throws OpenDataException
  Create an ArrayType instance in a type-safe manner.
public String getClassName () [Inherited From OpenType]
  Returns the fully qualified Java class name of the open data values this open type describes.
public String getDescription () [Inherited From OpenType]
  Returns the text description of this OpenType instance.
pack-privatesynchronized Descriptor getDescriptor () [Inherited From OpenType]
public int getDimension ()
  Returns the dimension of arrays described by this ArrayType instance.
public OpenType<Object> getElementOpenType ()
  Returns the open type of element values contained in the arrays described by this ArrayType instance.
publicstatic ArrayType< T> getPrimitiveArrayType (Class< T> arrayClass)
  Create an ArrayType instance in a type-safe manner.
pack-privatestatic SimpleType<Object> getPrimitiveOpenType (String primitiveTypeName)
  Return the primitive open type corresponding to the given primitive type.
pack-privatestatic String getPrimitiveTypeKey (String elementClassName)
  Return the key used to identify the element type in arrays - e.g.
pack-privatestatic String getPrimitiveTypeName (String elementClassName)
  Return the primitive type name corresponding to the given wrapper class.
public String getTypeName () [Inherited From OpenType]
  Returns the name of this OpenType instance.
public int hashCode () [Specified in OpenType]
  Returns the hash code value for this ArrayType instance.
public boolean isArray () [Inherited From OpenType]
  Returns true if the open data values this open type describes are arrays, false otherwise.
@Override
pack-private boolean isAssignableFrom (OpenType ot)
pack-private boolean isAssignableFrom (OpenType<Object> ot) [Inherited From OpenType]
  Tests whether values of the given type can be assigned to this open type.
public boolean isPrimitiveArray ()
  Returns true if the open data values this open type describes are primitive arrays, false otherwise.
pack-privatestatic boolean isPrimitiveContentType (String primitiveKey)
public boolean isValue (Object obj) [Specified in OpenType]
  Tests whether obj is a value for this ArrayType instance.
public String toString () [Specified in OpenType]
  Returns a string representation of this ArrayType instance.
Fields
Hide/Show inherited fields
@Deprecated
publicfinalstatic String ALLOWED_CLASSNAMES [Inherited From OpenType]
publicfinalstatic List<String> ALLOWED_CLASSNAMES_LIST [Inherited From OpenType]
  List of the fully qualified names of the Java classes allowed for open data values.
pack-privatefinalstatic long serialVersionUID = "720504429830309770" [Overrides OpenType]
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar