[concurrency-interest] LinkedBlockingQueue does not throw ClassCastException

Szabolcs Ferenczi szabolcs.ferenczi at gmail.com
Mon Apr 16 19:47:34 EDT 2007


On 17/04/07, Hanson Char <hanson.char at gmail.com> wrote:
> Ever considered the use of Collections.checkedCollection(Collection<E>,
> Class<E>) ?  That will provide you with runtime type checking.

No. My concern was to test class LinkedBlockingQueue against its documentation.

Best Regards,
Szabolcs


More information about the Concurrency-interest mailing list