|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An Open Data Type for composite data structures.
CompositeDataSupport
Method Summary | |
boolean |
containsKey(String key)
Tests whether a key is part of this composite data |
boolean |
containsValue(Object value)
Tests whether a item exists with the passed value |
boolean |
equals(Object obj)
Tests whether two composite data objects are equal |
Object |
get(String key)
Retrieve the value for the item with the passed key |
Object[] |
getAll(String[] key)
Retrieve the arrray of values for the item with the passed keys |
CompositeType |
getCompositeType()
Retrieve the composite type for this composite data |
int |
hashCode()
Generates a hashcode for the implementation. |
String |
toString()
A string representation of the open mbean operation info. |
Collection |
values()
The values of this composite data |
Method Detail |
public CompositeType getCompositeType()
public Object get(String key)
IllegalArgumentException
- when the key is null or the empty
string
InvalidKeyException
- when the key does not existpublic Object[] getAll(String[] key)
IllegalArgumentException
- when a key is null or the empty
string or the array is null
InvalidKeyException
- when a key does not existpublic boolean containsKey(String key)
public boolean containsValue(Object value)
public Collection values()
An iterator over the returned collection returns result in ascending lexicographic order
public boolean equals(Object obj)
The object is non-null
The object implements this interface
The composite types are equal
The values are equal
obj
- the object to test
public int hashCode()
The sum of the hashCodes for the elements mentioned in the equals method
public String toString()
It is made up of implementation class and the values mentioned in the equals method
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |