API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.management. AttributeList View Source
Author(s)
Since
1.5
Version
Serial
Hierarchy
 Object
      AbstractCollection
          AbstractList
              ArrayList
                  AttributeList
Implements
Subclasses
Description
public class AttributeList
  Represents a list of values for attributes of an MBean.
See also:   
Constructors
public AttributeList ()
Constructs an empty AttributeList.
public AttributeList (AttributeList list)
  Constructs an AttributeList containing the elements of the AttributeList specified, in the order in which they are returned by the AttributeList's iterator.
public AttributeList (int initialCapacity)
  Constructs an empty AttributeList with the initial capacity specified.
public AttributeList (List<Attribute> list)
  Constructs an AttributeList containing the elements of the List specified, in the order in which they are returned by the List's iterator.
Methods
Hide/Show inherited methods
public void add (Attribute object)
  Adds the Attribute specified as the last element of the list.
public boolean add ( E e) [Inherited From ArrayList]
  Appends the specified element to the end of this list.
public void add (int index, Attribute object)
  Inserts the attribute specified as an element at the position specified.
public void add (int index, E element) [Inherited From ArrayList]
  Inserts the specified element at the specified position in this list.
@Override
public void add (int index, Object element)
@Override
public boolean add (Object o)
public boolean addAll (AttributeList list)
  Appends all the elements in the AttributeList specified to the end of the list, in the order in which they are returned by the Iterator of the AttributeList specified.
@Override
public boolean addAll (Collection<Object> c)
public boolean addAll (Collection<Object> c) [Inherited From ArrayList]
  Appends all of the elements in the specified collection to the end of this list, in the order that they are returned by the specified collection's Iterator.
public boolean addAll (int index, AttributeList list)
  Inserts all of the elements in the AttributeList specified into this list, starting at the specified position, in the order in which they are returned by the Iterator of the AttributeList specified.
@Override
public boolean addAll (int index, Collection<Object> c)
public boolean addAll (int index, Collection<Object> c) [Inherited From ArrayList]
  Inserts all of the elements in the specified collection into this list, starting at the specified position.
@SuppressWarnings (value="unchecked")
public List<Attribute> asList ()
  Return a view of this list as a List<Attribute>.
public void clear () [Inherited From ArrayList]
  Removes all of the elements from this list.
public Object clone () [Inherited From ArrayList]
  Returns a shallow copy of this ArrayList instance.
public boolean contains (Object o) [Inherited From ArrayList]
  Returns true if this list contains the specified element.
public boolean containsAll (Collection<Object> c) [Inherited From AbstractCollection]
  Returns true if this collection contains all of the elements in the specified collection.
public void ensureCapacity (int minCapacity) [Inherited From ArrayList]
  Increases the capacity of this ArrayList instance, if necessary, to ensure that it can hold at least the number of elements specified by the minimum capacity argument.
public boolean equals (Object o) [Inherited From AbstractList]
  Compares the specified object with this list for equality.
public E get (int index) [Inherited From ArrayList] [Specified in AbstractList]
  Returns the element at the specified position in this list.
public int hashCode () [Inherited From AbstractList]
  Returns the hash code value for this list.
public int indexOf (Object o) [Inherited From ArrayList]
  Returns the index of the first occurrence of the specified element in this list, or -1 if this list does not contain the element.
public boolean isEmpty () [Inherited From ArrayList]
  Returns true if this list contains no elements.
public Iterator< E> iterator () [Inherited From AbstractList] [Specified in AbstractCollection]
  Returns an iterator over the elements in this list in proper sequence.
public int lastIndexOf (Object o) [Inherited From ArrayList]
  Returns the index of the last occurrence of the specified element in this list, or -1 if this list does not contain the element.
public ListIterator< E> listIterator () [Inherited From AbstractList]
  Returns a list iterator over the elements in this list (in proper sequence).
public ListIterator< E> listIterator (int index) [Inherited From AbstractList]
  Returns a list iterator of the elements in this list (in proper sequence), starting at the specified position in this list.
public E remove (int index) [Inherited From ArrayList]
  Removes the element at the specified position in this list.
public boolean remove (Object o) [Inherited From ArrayList]
  Removes the first occurrence of the specified element from this list, if it is present.
public boolean removeAll (Collection<Object> c) [Inherited From AbstractCollection]
  Removes all of this collection's elements that are also contained in the specified collection (optional operation).
protected void removeRange (int fromIndex, int toIndex) [Inherited From ArrayList]
  Removes from this list all of the elements whose index is between fromIndex, inclusive, and toIndex, exclusive.
public boolean retainAll (Collection<Object> c) [Inherited From AbstractCollection]
  Retains only the elements in this collection that are contained in the specified collection (optional operation).
public void set (int index, Attribute object)
  Sets the element at the position specified to be the attribute specified.
public E set (int index, E element) [Inherited From ArrayList]
  Replaces the element at the specified position in this list with the specified element.
@Override
public Object set (int index, Object element)
public int size () [Inherited From ArrayList] [Specified in AbstractCollection]
  Returns the number of elements in this list.
public List< E> subList (int fromIndex, int toIndex) [Inherited From AbstractList]
  Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive.
public Object toArray () [Inherited From ArrayList]
  Returns an array containing all of the elements in this list in proper sequence (from first to last element).
public T toArray ( T a) [Inherited From ArrayList]
  Returns an array containing all of the elements in this list in proper sequence (from first to last element); the runtime type of the returned array is that of the specified array.
public String toString () [Inherited From AbstractCollection]
  Returns a string representation of this collection.
public void trimToSize () [Inherited From ArrayList]
  Trims the capacity of this ArrayList instance to be the list's current size.
Fields
Hide/Show inherited fields
protectedtransient int modCount [Inherited From AbstractList]
  The number of times this list has been structurally modified.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar