|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.management.openmbean.TabularDataSupport
An implementation of TabularData.
| Nested Class Summary |
| Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
| Constructor Summary | |
TabularDataSupport(TabularType (src) tabularType)
Construct Tabular Data with an initial capacity of 101 and a load factor of 0.75 |
|
TabularDataSupport(TabularType (src) tabularType,
int initialCapacity,
float loadFactor)
Construct Tabular Data |
|
| Method Summary | |
java.lang.Object[] |
calculateIndex(CompositeData (src) value)
Calculate the index for the value passed if it were added to the tabular data. |
void |
clear()
Removes all CompositeData values from the Tabular Data |
java.lang.Object |
clone()
|
boolean |
containsKey(java.lang.Object key)
|
boolean |
containsKey(java.lang.Object[] key)
Determine whether the tabular data contains the passed value as a row. |
boolean |
containsValue(CompositeData (src) value)
Determine whether the tabular data contains the passed value. |
boolean |
containsValue(java.lang.Object value)
|
java.util.Set |
entrySet()
|
boolean |
equals(java.lang.Object obj)
Compares the specified obj parameter with this TabularDataSupport instance for equality. |
java.lang.Object |
get(java.lang.Object key)
|
CompositeData (src) |
get(java.lang.Object[] key)
Retrieve the composite data for the passed index. |
TabularType (src) |
getTabularType()
Retrieve the tabular type for this tabular data |
int |
hashCode()
Generates a hashcode for the implementation. |
boolean |
isEmpty()
Determine whether the tabular data is empty. |
java.util.Set |
keySet()
Returns a set view of the index values. |
void |
put(CompositeData (src) value)
Add a value to the tabular data. |
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
|
void |
putAll(CompositeData (src) [] values)
Add all the passed values. |
void |
putAll(java.util.Map t)
|
java.lang.Object |
remove(java.lang.Object key)
|
CompositeData (src) |
remove(java.lang.Object[] key)
Removes the value for the passed and returns the removed value, or null if the key was not present. |
int |
size()
Retrieve the number of rows in the tabular data. |
java.lang.String |
toString()
A string representation of the open mbean operation info. |
java.util.Collection |
values()
Returns a set view of the row values. |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TabularDataSupport(TabularType (src) tabularType)
tabularType - the tabular type of the data
java.lang.IllegalArgumentException - for a null argument
public TabularDataSupport(TabularType (src) tabularType,
int initialCapacity,
float loadFactor)
tabularType - the tabular type of the datainitialCapacity - the initial capacity of the maploadFactor - the load factory of the map
java.lang.IllegalArgumentException - for a null argument| Method Detail |
public TabularType (src) getTabularType()
TabularData (src)
getTabularType in interface TabularData (src) public java.lang.Object[] calculateIndex(CompositeData (src) value)
TabularData (src)
calculateIndex in interface TabularData (src) value - the value for which the index is calculated.
public void clear()
TabularData (src)
clear in interface java.util.Mappublic boolean containsKey(java.lang.Object[] key)
TabularData (src)
containsKey in interface TabularData (src) key - the value to check
public boolean containsValue(CompositeData (src) value)
TabularData (src)
containsValue in interface TabularData (src) value - the value to check
public CompositeData (src) get(java.lang.Object[] key)
TabularData (src)
get in interface TabularData (src) key - the index to retrievepublic boolean isEmpty()
TabularData (src)
isEmpty in interface java.util.Mappublic java.util.Set keySet()
TabularData (src)
keySet in interface java.util.Mappublic void put(CompositeData (src) value)
TabularData (src)
put in interface TabularData (src) value - the value to addpublic void putAll(CompositeData (src) [] values)
TabularData (src)
putAll in interface TabularData (src) values - the values to addpublic CompositeData (src) remove(java.lang.Object[] key)
TabularData (src)
remove in interface TabularData (src) key - the index of the value to removepublic int size()
TabularData (src)
size in interface java.util.Mappublic java.util.Collection values()
TabularData (src)
values in interface java.util.Mappublic boolean containsKey(java.lang.Object key)
containsKey in interface java.util.Mappublic boolean containsValue(java.lang.Object value)
containsValue in interface java.util.Mappublic java.util.Set entrySet()
entrySet in interface java.util.Mappublic java.lang.Object get(java.lang.Object key)
get in interface java.util.Map
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
put in interface java.util.Mappublic void putAll(java.util.Map t)
putAll in interface java.util.Mappublic java.lang.Object remove(java.lang.Object key)
remove in interface java.util.Mappublic java.lang.Object clone()
public boolean equals(java.lang.Object obj)
equals in interface java.util.Mappublic int hashCode()
TabularData (src) The sum of the hashCodes for the elements mentioned in the equals method
hashCode in interface java.util.Mappublic java.lang.String toString()
TabularData (src) It is made up of implementation class and the values mentioned in the equals method
toString in interface TabularData (src)
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||