< prev index next >
src/java.management/share/classes/javax/management/MBeanParameterInfo.java
Print this page
*** 48,58 ****
*/
private final String type;
/**
! * Constructs an <CODE>MBeanParameterInfo</CODE> object.
*
* @param name The name of the data
* @param type The type or class name of the data
* @param description A human readable description of the data. Optional.
*/
--- 48,58 ----
*/
private final String type;
/**
! * Constructs an {@code MBeanParameterInfo} object.
*
* @param name The name of the data
* @param type The type or class name of the data
* @param description A human readable description of the data. Optional.
*/
*** 61,71 ****
String description) {
this(name, type, description, (Descriptor) null);
}
/**
! * Constructs an <CODE>MBeanParameterInfo</CODE> object.
*
* @param name The name of the data
* @param type The type or class name of the data
* @param description A human readable description of the data. Optional.
* @param descriptor The descriptor for the operation. This may be null
--- 61,71 ----
String description) {
this(name, type, description, (Descriptor) null);
}
/**
! * Constructs an {@code MBeanParameterInfo} object.
*
* @param name The name of the data
* @param type The type or class name of the data
* @param description A human readable description of the data. Optional.
* @param descriptor The descriptor for the operation. This may be null
*** 83,95 ****
}
/**
* <p>Returns a shallow clone of this instance.
! * The clone is obtained by simply calling <tt>super.clone()</tt>,
* thus calling the default native shallow cloning mechanism
! * implemented by <tt>Object.clone()</tt>.
* No deeper cloning of any internal field is made.</p>
*
* <p>Since this class is immutable, cloning is chiefly of
* interest to subclasses.</p>
*/
--- 83,95 ----
}
/**
* <p>Returns a shallow clone of this instance.
! * The clone is obtained by simply calling {@code super.clone()},
* thus calling the default native shallow cloning mechanism
! * implemented by {@code Object.clone()}.
* No deeper cloning of any internal field is made.</p>
*
* <p>Since this class is immutable, cloning is chiefly of
* interest to subclasses.</p>
*/
*** 124,134 ****
/**
* Compare this MBeanParameterInfo to another.
*
* @param o the object to compare to.
*
! * @return true if and only if <code>o</code> is an MBeanParameterInfo such
* that its {@link #getName()}, {@link #getType()},
* {@link #getDescriptor()}, and {@link
* #getDescription()} values are equal (not necessarily identical)
* to those of this MBeanParameterInfo.
*/
--- 124,134 ----
/**
* Compare this MBeanParameterInfo to another.
*
* @param o the object to compare to.
*
! * @return true if and only if {@code o} is an MBeanParameterInfo such
* that its {@link #getName()}, {@link #getType()},
* {@link #getDescriptor()}, and {@link
* #getDescription()} values are equal (not necessarily identical)
* to those of this MBeanParameterInfo.
*/
< prev index next >