| |
|
| java.lang.Object bak.pcj.SynchronizedBooleanCollection
Field Summary | |
protected BooleanCollection | 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.
|
SynchronizedBooleanCollection | public SynchronizedBooleanCollection(BooleanCollection 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(boolean v)(Code) | | |
clear | public void clear()(Code) | | |
contains | public boolean contains(boolean v)(Code) | | |
hashCode | public int hashCode()(Code) | | |
isEmpty | public boolean isEmpty()(Code) | | |
remove | public boolean remove(boolean v)(Code) | | |
toArray | public boolean[] toArray()(Code) | | |
toArray | public boolean[] toArray(boolean[] a)(Code) | | |
trimToSize | public void trimToSize()(Code) | | |
|
|
|