TabularData (Java SE 15 & JDK 15) (original) (raw)

All Known Implementing Classes:

[TabularDataSupport](TabularDataSupport.html "class in javax.management.openmbean")


public interface TabularData

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

Since:

1.5

Modifier and Type Method Description
Object[] calculateIndex​(CompositeData value) Calculates the index that would be used in this TabularData instance to refer to the specified composite data value parameter if it were added to this instance.
void clear() Removes all CompositeData values (ie rows) from this TabularData instance.
boolean containsKey​(Object[] key) Returns true if and only if this TabularData instance contains a CompositeData value (ie a row) whose index is the specified key.
boolean containsValue​(CompositeData value) Returns true if and only if this TabularData instance contains the specifiedCompositeData value.
boolean equals​(Object obj) Compares the specified obj parameter with this TabularData instance for equality.
CompositeData get​(Object[] key) Returns the CompositeData value whose index iskey, or null if there is no value mapping to key, in this TabularData instance.
TabularType getTabularType() Returns the tabular type describing thisTabularData instance.
int hashCode() Returns the hash code value for this TabularData instance.
boolean isEmpty() Returns true if the number of CompositeData values (ie the number of rows) contained in thisTabularData instance is zero.
Set<?> keySet() Returns a set view of the keys (ie the index values) of theCompositeData values (ie the rows) contained in thisTabularData instance.
void put​(CompositeData value) Adds value to this TabularData instance.
void putAll​(CompositeData[] values) Add all the elements in values to this TabularData instance.
CompositeData remove​(Object[] key) Removes the CompositeData value whose index is key from this TabularData instance, and returns the removed value, or returns null if there is no value whose index is key.
int size() Returns the number of CompositeData values (ie the number of rows) contained in this TabularData instance.
String toString() Returns a string representation of this TabularData instance.
Collection<?> values() Returns a collection view of the CompositeData values (ie the rows) contained in this TabularData instance.