API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.management.openmbean. TabularDataSupport View Source
Author(s)
Sun Microsystems, Inc.
Since
1.5
Version
3.36 06/03/29
Serial
Hierarchy
 Object
      TabularDataSupport
Implements
 TabularData
 Map
 Cloneable
 Serializable
Subclasses
Description
public class TabularDataSupport
  The TabularDataSupport class is the open data class which implements the TabularData and the Map interfaces, and which is internally based on a hash map data structure.
See also:   
Constructors
public TabularDataSupport (TabularType tabularType)
  Creates an empty TabularDataSupport instance whose open-type is tabularType, and whose underlying HashMap has a default initial capacity (101) and default load factor (0.75).
public TabularDataSupport (TabularType tabularType, int initialCapacity, float loadFactor)
  Creates an empty TabularDataSupport instance whose open-type is tabularType, and whose underlying HashMap has the specified initial capacity and load factor.
Methods
Hide/Show inherited methods
public Object calculateIndex (CompositeData value) [Specified in TabularData]
  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.
public void clear () [Specified in TabularData]
Removes all rows from this TabularDataSupport instance.
public Object clone ()
  Returns a clone of this TabularDataSupport instance: the clone is obtained by calling super.clone(), and then cloning the underlying map.
public boolean containsKey (Object key) [Specified in Map]
  Returns true if and only if this TabularData instance contains a CompositeData value (ie a row) whose index is the specified key.
public boolean containsKey (Object key) [Specified in TabularData]
  Returns true if and only if this TabularData instance contains a CompositeData value (ie a row) whose index is the specified key.
public boolean containsValue (CompositeData value) [Specified in TabularData]
  Returns true if and only if this TabularData instance contains the specified CompositeData value.
public boolean containsValue (Object value) [Specified in Map]
  Returns true if and only if this TabularData instance contains the specified value.
public Set<Entry<Object, Object>> entrySet () [Specified in Map]
  Returns a collection view of the index to row mappings contained in this TabularDataSupport instance.
public boolean equals (Object obj) [Specified in TabularData]
  Compares the specified obj parameter with this TabularDataSupport instance for equality.
public Object get (Object key) [Specified in Map]
  This method simply calls get((Object[]) key).
public CompositeData get (Object key) [Specified in TabularData]
  Returns the CompositeData value whose index is key, or null if there is no value mapping to key, in this TabularData instance.
public TabularType getTabularType () [Specified in TabularData]
Returns the tabular type describing this TabularData instance.
public int hashCode () [Specified in TabularData]
  Returns the hash code value for this TabularDataSupport instance.
public boolean isEmpty () [Specified in TabularData]
  Returns true if this TabularDataSupport instance contains no rows.
public Set<Object> keySet () [Specified in TabularData]
  Returns a set view of the keys contained in the underlying map of this TabularDataSupport instance used to index the rows.
public void put (CompositeData value) [Specified in TabularData]
public Object put (Object key, Object value)
  This method simply calls put((CompositeData) value) and therefore ignores its key parameter which can be null.
public void putAll (CompositeData values) [Specified in TabularData]
  Add all the elements in values to this TabularData instance.
public void putAll (Map<Object, Object> t)
  Add all the values contained in the specified map t to this TabularData instance.
public Object remove (Object key) [Specified in Map]
  This method simply calls remove((Object[]) key).
public CompositeData remove (Object key) [Specified in TabularData]
  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.
public int size () [Specified in TabularData]
  Returns the number of rows in this TabularDataSupport instance.
public String toString () [Specified in TabularData]
  Returns a string representation of this TabularDataSupport instance.
public Collection<Object> values () [Specified in TabularData]
  Returns a collection view of the rows contained in this TabularDataSupport instance.
Fields
Hide/Show inherited fields
pack-privatefinalstatic long serialVersionUID = "5720150593236309827"
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar