CompositeData (Java SE 19 & JDK 19) (original) (raw)

All Known Implementing Classes:

[CompositeDataSupport](CompositeDataSupport.html "class in javax.management.openmbean"), [GcInfo](../../../../jdk.management/com/sun/management/GcInfo.html "class in com.sun.management")


public interface CompositeData

The CompositeData interface specifies the behavior of a specific type of complex open data objects which represent composite data structures.

Since:

1.5

boolean
Returns true if and only if this CompositeData instance contains an item whose name is key.
boolean
Returns true if and only if this CompositeData instance contains an item whose value is value.
boolean
Compares the specified obj parameter with thisCompositeData instance for equality.
Returns the value of the item whose name is key.
Returns an array of the values of the items whose names are specified by keys, in the same order as keys.
Returns the composite type of this composite data instance.
int
[hashCode](#hashCode%28%29)()
Returns the hash code value for this CompositeData instance.
[toString](#toString%28%29)()
Returns a string representation of this CompositeData instance.
[values](#values%28%29)()
Returns an unmodifiable Collection view of the item values contained in this CompositeData instance.