| |
|
| java.lang.Object bak.pcj.SynchronizedDoubleCollection
Field Summary | |
protected DoubleCollection | collection The collection underlying this synchronized collection. | protected Object | m An object on which to synchronize this collection's methods. |
m | protected Object m(Code) | | An object on which to synchronize this collection's methods.
|
SynchronizedDoubleCollection | public SynchronizedDoubleCollection(DoubleCollection c)(Code) | | Creates a new synchronized collection on an existing
collection. The result is a collection whose elements and
behaviour is the same as the existing collection's except
that the new collection's methods are synchronized.
Parameters: c - the existing collection to make synchronized. throws: NullPointerException - if c is null. |
add | public boolean add(double v)(Code) | | |
clear | public void clear()(Code) | | |
contains | public boolean contains(double v)(Code) | | |
hashCode | public int hashCode()(Code) | | |
isEmpty | public boolean isEmpty()(Code) | | |
remove | public boolean remove(double v)(Code) | | |
toArray | public double[] toArray()(Code) | | |
toArray | public double[] toArray(double[] a)(Code) | | |
trimToSize | public void trimToSize()(Code) | | |
|
|
|