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