|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.management.openmbean.TabularDataSupport
public class TabularDataSupport
An implementation of TabularData.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| 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 argument
public 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 argument| Method Detail |
|---|
public TabularType getTabularType()
TabularData
getTabularType in interface TabularDatapublic Object[] calculateIndex(CompositeData value)
TabularData
calculateIndex in interface TabularDatavalue - the value for which the index is calculated.
public void clear()
TabularData
clear in interface Mapclear in interface TabularDatapublic boolean containsKey(Object[] key)
TabularData
containsKey in interface TabularDatakey - the value to check
public boolean containsValue(CompositeData value)
TabularData
containsValue in interface TabularDatavalue - the value to check
public CompositeData get(Object[] key)
TabularData
get in interface TabularDatakey - the index to retrievepublic boolean isEmpty()
TabularData
isEmpty in interface MapisEmpty in interface TabularDatapublic Set keySet()
TabularData
keySet in interface MapkeySet in interface TabularDatapublic void put(CompositeData value)
TabularData
put in interface TabularDatavalue - the value to addpublic void putAll(CompositeData[] values)
TabularData
putAll in interface TabularDatavalues - the values to addpublic CompositeData remove(Object[] key)
TabularData
remove in interface TabularDatakey - the index of the value to removepublic int size()
TabularData
size in interface Mapsize in interface TabularDatapublic Collection values()
TabularData
values in interface Mapvalues in interface TabularDatapublic boolean containsKey(Object key)
containsKey in interface Mappublic boolean containsValue(Object value)
containsValue in interface Mappublic Set entrySet()
entrySet in interface Mappublic Object get(Object key)
get in interface Map
public Object put(Object key,
Object value)
put in interface Mappublic void putAll(Map t)
putAll in interface Mappublic Object remove(Object key)
remove in interface Mappublic Object clone()
clone in class Objectpublic boolean equals(Object obj)
equals in interface Mapequals in interface TabularDataequals in class Objectobj - the object to test
public int hashCode()
TabularDataThe sum of the hashCodes for the elements mentioned in the equals method
hashCode in interface MaphashCode in interface TabularDatahashCode in class Objectpublic String toString()
TabularDataIt is made up of implementation class and the values mentioned in the equals method
toString in interface TabularDatatoString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||