| |
|
| java.lang.Object bak.pcj.SynchronizedShortCollection
Field Summary | |
protected ShortCollection | collection The collection underlying this synchronized collection. | protected Object | m An object on which to synchronize this collection's methods. |
collection | protected ShortCollection collection(Code) | | The collection underlying this synchronized collection.
|
m | protected Object m(Code) | | An object on which to synchronize this collection's methods.
|
SynchronizedShortCollection | public SynchronizedShortCollection(ShortCollection 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(short v)(Code) | | |
clear | public void clear()(Code) | | |
contains | public boolean contains(short v)(Code) | | |
hashCode | public int hashCode()(Code) | | |
isEmpty | public boolean isEmpty()(Code) | | |
remove | public boolean remove(short v)(Code) | | |
toArray | public short[] toArray()(Code) | | |
toArray | public short[] toArray(short[] a)(Code) | | |
trimToSize | public void trimToSize()(Code) | | |
|
|
|