|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
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.hyperic.image.chart.DataPointCollection
public class DataPointCollection
DataPointCollection holds a collection of objects that implement the org.hyperic.util.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. |
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, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode, iterator, 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, iterator, 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.
java.lang.ClassCastException
- If the element does not implement the IDataPoint interface.public boolean addAll(DataPointCollection c)
c
- The collection to add to this collection.
java.lang.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.
java.lang.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.
java.lang.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.
java.lang.ClassCastException
- If the element does not implement the IDataPoint interface.public boolean removeAll(DataPointCollection c)
c
- The collection of objects to remove.
java.lang.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.
java.lang.ClassCastException
- If the specified collection is not a
net.hyperic.chart.DataCollection or subclass.
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |