TabularData interface specifies the behavior of a specific type of complex open data objects
which represent tabular data structures.
| Modifier and Type | Method and Description |
|---|---|
| public Object[] | Returns: the index that the specified value would have in thisTabularData instance.the composite data value whose index in this
value)TabularData instance is to be calculated;
must be of the same composite type as this instance's row type;
must not be null.Calculates the index that would be used in this |
| public void | |
| public boolean | Returns: true if this TabularData indexes a row value with the specified key.the index value whose presence in this key)TabularData instance is to be tested.Returns |
| public boolean | Returns: true if this TabularData instance contains the specified row value.the row value whose presence in this value)TabularData instance is to be tested.Returns |
| public boolean | |
| public CompositeData | |
| public TabularType | Returns: the tabular type.Returns the tabular type describing this
|
| public int | Returns: the hash code value for thisTabularDataSupport instanceReturns the hash code value for this |
| public boolean | Returns: true if thisTabularData is empty.Returns |
| public Set | Returns: a set view (Set<List<?>>) of the index values
used in this TabularData instance.Returns a set view of the keys (ie the index values) of the
|
| public void | put(CompositeData
the composite data value to be added as a new row to this value)TabularData instance;
must be of the same composite type as this instance's row type;
must not be null.Adds value to this |
| public void | putAll(CompositeData[]
the array of composite data values to be added as new rows to this values)TabularData instance;
if values is null or empty, this method returns without doing anything.Add all the elements in values to this |
| public CompositeData | Returns: previous value associated with specified key, ornull
if there was no mapping for key.the index of the value to get in this key)TabularData instance;
must be valid with this TabularData instance's row type definition;
must not be null.Removes the |
| public int | Returns: the number of values contained.Returns the number of |
| public String | Returns: a string representation of thisTabularData instanceReturns a string representation of this |
| public Collection | Returns: a collection view (Collection<CompositeData>)
of the rows contained in this TabularData instance.Returns a collection view of the |
| calculateIndex | back to summary |
|---|---|
| public Object[] calculateIndex(CompositeData value) Calculates the index that would be used in this
| |
| clear | back to summary |
|---|---|
| public void clear() Removes all | |
| containsKey | back to summary |
|---|---|
| public boolean containsKey(Object[] key) Returns
| |
| containsValue | back to summary |
|---|---|
| public boolean containsValue(CompositeData value) Returns
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Compares the specified obj parameter with this
Returns
equals method works properly for obj parameters which are
different implementations of the TabularData interface.
| |
| get | back to summary |
|---|---|
| public CompositeData get(Object[] key) Returns the
| |
| getTabularType | back to summary |
|---|---|
| public TabularType getTabularType() Returns the tabular type describing this
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Returns the hash code value for this
The hash code of a
This ensures that
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Returns
| |
| keySet | back to summary |
|---|---|
| public Set Returns a set view of the keys (ie the index values) of the
| |
| put | back to summary |
|---|---|
| public void put(CompositeData value) Adds value to this
| |
| putAll | back to summary |
|---|---|
| public void putAll(CompositeData[] values) Add all the elements in values to this
| |
| remove | back to summary |
|---|---|
| public CompositeData remove(Object[] key) Removes the
| |
| size | back to summary |
|---|---|
| public int size() Returns the number of
| |
| toString | back to summary |
|---|---|
| public String toString() Returns a string representation of this The string representation consists of the name of the implementing class, and the tabular type of this instance.
| |
| values | back to summary |
|---|---|
| public Collection Returns a collection view of the
| |