|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
org.rhq.enterprise.gui.image.chart.DataPointCollection
public class DataPointCollection
DataPointCollection holds a collection of objects that implement the org.rhq.enterprise.gui.image.data.IDataPoint interface. The collection of objects form are charted when give to a subclass of net.hyperic.chart.Chart.
| Field Summary |
|---|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
DataPointCollection()
|
|
DataPointCollection(int initialCapacity)
|
|
| Method Summary | |
|---|---|
boolean |
add(IDataPoint element)
Adds an element to the collection. |
boolean |
addAll(DataPointCollection c)
Adds the elements of the specified collection to this collection. |
boolean |
contains(IDataPoint element)
Determines whether the collection contains the specified element. |
boolean |
containsAll(DataPointCollection c)
Determines whether the collection contains all of the elements in the specified collection. |
IDataPoint |
get(int index)
|
Iterator<IDataPoint> |
iterator()
|
boolean |
remove(IDataPoint element)
Removes the specified element from the collection. |
boolean |
removeAll(DataPointCollection c)
Removes all of the elements in the specified collection from this collection. |
boolean |
retainAll(DataPointCollection c)
Removes all of the elements in the collection except those in the specified collection. |
| Methods inherited from class java.util.ArrayList |
|---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
equals, hashCode, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
containsAll, equals, hashCode, listIterator, listIterator, removeAll, retainAll, subList |
| Constructor Detail |
|---|
public DataPointCollection()
public DataPointCollection(int initialCapacity)
| Method Detail |
|---|
public boolean add(IDataPoint element)
element - The object to add to the collection.
ClassCastException - If the element does not implement the IDataPoint interface.public boolean addAll(DataPointCollection c)
c - The collection to add to this collection.
ClassCastException - If the specified collection is not a net.hyperic.chart.DataCollection or subclass.public boolean contains(IDataPoint element)
element - The object to test for in the collection.
ClassCastException - If the element does not implement the net.hyperic.chart.IDataPoint interface.public boolean containsAll(DataPointCollection c)
c - The collection containing the element to check for.
ClassCastException - If the specified collection is not a net.hyperic.chart.DataCollection or subclass.public boolean remove(IDataPoint element)
o - The object to remove from the collection.
ClassCastException - If the element does not implement the IDataPoint interface.public boolean removeAll(DataPointCollection c)
c - The collection of objects to remove.
ClassCastException - If the specified collection is not a net.hyperic.chart.DataCollection or subclass.public boolean retainAll(DataPointCollection c)
c - The collection of objects to retain.
ClassCastException - If the specified collection is not a net.hyperic.chart.DataCollection or subclass.public Iterator<IDataPoint> iterator()
iterator in interface Iterableiterator in interface Collectioniterator in interface Listiterator in class AbstractListpublic IDataPoint get(int index)
get in interface Listget in class ArrayList
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||