jdk/src/share/classes/javax/management/openmbean/TabularType.java
changeset 21656 d4c777ccb1db
parent 5506 202f599c92aa
child 23010 6dadb192ad81
equal deleted inserted replaced
21655:55f32ae4f920 21656:d4c777ccb1db
    38 //
    38 //
    39 
    39 
    40 
    40 
    41 /**
    41 /**
    42  * The <code>TabularType</code> class is the <i> open type</i> class
    42  * The <code>TabularType</code> class is the <i> open type</i> class
    43  * whose instances describe the types of {@link TabularData <code>TabularData</code>} values.
    43  * whose instances describe the types of {@link TabularData TabularData} values.
    44  *
    44  *
    45  * @since 1.5
    45  * @since 1.5
    46  */
    46  */
    47 public class TabularType extends OpenType<TabularData> {
    47 public class TabularType extends OpenType<TabularData> {
    48 
    48 
    87      * @param  indexNames  The names of the items the values of which are used to uniquely index each row element in the
    87      * @param  indexNames  The names of the items the values of which are used to uniquely index each row element in the
    88      *                     tabular data values described by this tabular type instance;
    88      *                     tabular data values described by this tabular type instance;
    89      *                     cannot be null or empty. Each element should be an item name defined in <var>rowType</var>
    89      *                     cannot be null or empty. Each element should be an item name defined in <var>rowType</var>
    90      *                     (no null or empty string allowed).
    90      *                     (no null or empty string allowed).
    91      *                     It is important to note that the <b>order</b> of the item names in <var>indexNames</var>
    91      *                     It is important to note that the <b>order</b> of the item names in <var>indexNames</var>
    92      *                     is used by the methods {@link TabularData#get(java.lang.Object[]) <code>get</code>} and
    92      *                     is used by the methods {@link TabularData#get(java.lang.Object[]) get} and
    93      *                     {@link TabularData#remove(java.lang.Object[]) <code>remove</code>} of class
    93      *                     {@link TabularData#remove(java.lang.Object[]) remove} of class
    94      *                     <code>TabularData</code> to match their array of values parameter to items.
    94      *                     <code>TabularData</code> to match their array of values parameter to items.
    95      * <br>&nbsp;
    95      * <br>&nbsp;
    96      * @throws IllegalArgumentException  if <var>rowType</var> is null,
    96      * @throws IllegalArgumentException  if <var>rowType</var> is null,
    97      *                                   or <var>indexNames</var> is a null or empty array,
    97      *                                   or <var>indexNames</var> is a null or empty array,
    98      *                                   or an element in <var>indexNames</var> is a null or empty string,
    98      *                                   or an element in <var>indexNames</var> is a null or empty string,