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