Package adams.flow.sink.canvas
Class DataPool
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList
-
- adams.flow.sink.canvas.DataPool
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable
,Collection
,List
,RandomAccess
public class DataPool extends ArrayList
Represents the data to be painted on the canvas.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description DataPool()
Default constructor.DataPool(int initialCapacity)
Initializes the pool with an initial capacity.DataPool(DataPool pool)
Initializes the pool with the content of the specified pool.DataPool(Collection c)
Initializes the pool with the content of the collection.
-
Method Summary
-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
Methods inherited from class java.util.AbstractCollection
containsAll, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Methods inherited from interface java.util.List
containsAll
-
-
-
-
Constructor Detail
-
DataPool
public DataPool()
Default constructor.
-
DataPool
public DataPool(int initialCapacity)
Initializes the pool with an initial capacity.- Parameters:
initialCapacity
- the initial capacity for the pool
-
DataPool
public DataPool(DataPool pool)
Initializes the pool with the content of the specified pool.- Parameters:
pool
- the pool to get the data from
-
DataPool
public DataPool(Collection c)
Initializes the pool with the content of the collection.- Parameters:
c
- the collection to get the data from
-
-