| |
|
| javax.management.openmbean.TabularData
All known Subclasses: javax.management.openmbean.TabularDataSupport,
calculateIndex | Object[] calculateIndex(CompositeData value)(Code) | | Calculate the index for the value passed if it were added to the
tabular data. The validity of the passed value is checked. But the
tabular data isn't checked to see whether the index is already used.
Parameters: value - the value for which the index is calculated. the calculated index exception: NullPointerException - for a null value exception: InvalidOpenTypeException - when the passed value is notvalid for the tabular data's row type. |
clear | void clear()(Code) | | Removes all CompositeData values from the Tabular Data
|
containsKey | boolean containsKey(Object[] key)(Code) | | Determine whether the tabular data contains the passed value as a row.
If the passed value is null or invalid, false is returned.
Parameters: key - the value to check true when the value is a row index, false otherwise |
containsValue | boolean containsValue(CompositeData value)(Code) | | Determine whether the tabular data contains the passed value.
If the passed value is null or invalid, false is returned.
Parameters: value - the value to check true when the value is a row index, false otherwise |
equals | boolean equals(Object obj)(Code) | | Tests whether two tabular data objects are equal
The object is non-null
The object implements this interface
The row types are equal
The index to value mappings are equal
Parameters: obj - the object to test true when the above conditions are satisfied, false otherwise. |
getTabularType | TabularType getTabularType()(Code) | | Retrieve the tabular type for this tabular data
the tabular type |
hashCode | int hashCode()(Code) | | Generates a hashcode for the implementation.
The sum of the hashCodes for the elements mentioned in the equals
method
the calculated hashcode |
isEmpty | boolean isEmpty()(Code) | | Determine whether the tabular data is empty.
true when there are no rows, false otherwise |
keySet | Set keySet()(Code) | | Returns a set view of the index values.
the set of index values. |
put | void put(CompositeData value)(Code) | | Add a value to the tabular data. The value must have the same
CompositeType has the tabular data and there is no value already
occupying the index for the value.
Parameters: value - the value to add exception: NullPointerException - when the passed value is null exception: InvalidOpenTypeException - when the value is not valid forthe row type of the tabular data exception: KeyAlreadyExistsException - when the index for the valueis already occupied. |
putAll | void putAll(CompositeData[] values)(Code) | | Add all the passed values. All the values are checked before
addition including any duplicates that might be added. Either all
or no value is added.
Parameters: values - the values to add exception: NullPointerException - when the passed values is null oran element of the values is null exception: InvalidOpenTypeException - when one of value is not valid forthe row type of the tabular data exception: KeyAlreadyExistsException - when the index for one of the valuesis already occupied. |
remove | CompositeData remove(Object[] key)(Code) | | Removes the value for the passed and returns the removed value, or
null if the key was not present.
Parameters: key - the index of the value to remove exception: NullPointerException - when the passed key is null exception: InvalidKeyException - when the key is not valid for the tabular data |
size | int size()(Code) | | Retrieve the number of rows in the tabular data.
the number of rows. |
toString | String toString()(Code) | | A string representation of the open mbean operation info.
It is made up of implementation class and the values mentioned
in the equals method
the string |
values | Collection values()(Code) | | Returns a set view of the row values.
the set of row values. |
|
|
|