| java.lang.Object javax.management.openmbean.CompositeDataSupport
CompositeDataSupport | public CompositeDataSupport(CompositeType compositeType, String[] itemNames, Object[] itemValues) throws OpenDataException(Code) | | Construct Composite Data
Parameters: compositeType - the composite type of the data Parameters: itemNames - the names of the values Parameters: itemValues - the values exception: IllegalArgumentException - for a null or empty argument exception: OpenDataException - when the items do not match theCompositeType |
containsValue | public boolean containsValue(Object value)(Code) | | |
getAll | public Object[] getAll(String[] keys)(Code) | | Returns an array of the values of the items whose names are specified by keys, in the same order as keys.
|
hashCode | public int hashCode()(Code) | | Returns the hash code value for this CompositeDataSupport instance.
The hash code of a CompositeDataSupport instance is the sum of the hash codes of all elements of information used
in equals comparisons (ie: its composite type and all the item values).
This ensures that t1.equals(t2) implies that t1.hashCode()==t2.hashCode() for any two CompositeDataSupport
instances t1 and t2, as required by the general contract of the method Object.hashCode .
However, note that another instance of a class implementing the CompositeData interface may be equal to this
CompositeDataSupport instance as defined by equals(java.lang.Object), but may have a different hash code if it
is calculated differently.
|
toString | public String toString()(Code) | | Returns a string representation of this CompositeDataSupport instance.
The string representation consists of the name of this class (ie javax.management.openmbean.CompositeDataSupport),
the string representation of the composite type of this instance, and the string representation of the contents
(ie list the itemName=itemValue mappings).
|
|
|