public class DataPointCollection extends ArrayList
modCount| Constructor and Description |
|---|
DataPointCollection() |
DataPointCollection(int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, indexOf, isEmpty, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodepublic DataPointCollection()
public DataPointCollection(int initialCapacity)
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()
public IDataPoint get(int index)
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.